Group Video Functions
CharPix()
Determines the number of pixel rows used to display characters.
CharPix() --> nPixelRows
CharWin()
Replaces characters on the screen.
CharWin( [<nTop>], ; // Type: N Default: 0 [<nLeft>], ; // Type: N Default: 0 [<nBottom>], ; // Type: N Default: MaxRow() [<nRight>], ; // Type: N Default: MaxCol() [<cNewChar|nNewChar>], ; // Type: CN Default: GetClearB() [<cOldChar|nOldChar>] ; // Type: CN ) --> cNullString
ClearEol()
Clears a row on the screen beginning at a specified position.
ClearEol( [<nRow>], ; // Type: N Default: Row() [<nColumn>], ; // Type: N Default: Col() [<cColorAttr|nColorAttr>], ; // Type: CN Default: GetClearA() [<cClearChar|nClearChar>] ; // Type: CN Default: GetClearB() ) --> cNullString
ClearSlow()
Clears the screen with delay (imploding effect).
ClearSlow( <nMilliSecondsDelay>, ; // Type: N [<nTop>], ; // Type: N Default: 0 [<nLeft>], ; // Type: N Default: 0 [<nBottom>], ; // Type: N Default: MaxRow() [<nRight>], ; // Type: N Default: MaxCol() [<cClearChar|nClearChar>] ; // Type: CN Default: GetClearB() ) --> cNullString
ClearWin()
Clears (part of) the screen.
ClearWin( [<nTop>], ; // Type: N Default: 0 [<nLeft>], ; // Type: N Default: 0 [<nBottom>], ; // Type: N Default: MaxRow() [<nRight>], ; // Type: N Default: MaxCol() [<cColorAttr|nColorAttr>], ; // Type: CN Default: GetClearA() [<cClearChar|nClearChar>] ; // Type: CN Default: GetClearB() ) --> cNullString
ClEol()
Clears a row on the screen in black beginning at a specified position.
ClEol( [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> cNullString
ClWin()
Clears (part of) the screen in black.
ClWin( [<nTop>], ; // Default: Row() [<nLeft>], ; // Default: Col() [<nBottom>], ; // Default: MaxRow() [<nRight>] ; // Default: MaxCol() ) --> cNullString
ColorRepl()
Replaces color attributes.
ColorRepl( [<cNewAttr|nNewAttr>], ; // Type: CN Default: GetClearA() [<cOldAttr|nOldAttr>] ; // Type: CN ) --> cNullString
ColorToN()
Converts a color string to a numeric color attribute.
ColorToN( <cAttribute> ) --> nAttribute
ColorWin()
Replaces a color attribute in a specified area on the screen.
ColorWin( [<nTop>], ; // Type: N Default: 0 [<nLeft>], ; // Type: N Default: 0 [<nBottom>], ; // Type: N Default: MaxRow() [<nRight>], ; // Type: N Default: MaxCol() [<cNewAttr|nNewAttr>], ; // Type: CN Default: GetClearA() [<cOldAttr|nOldAttr>] ; // Type: CN ) --> cNullString
EgaPalette()
Function EgaPalette() is not supported.
Enhanced()
Selects the enhanced color (2nd color) of SetColor().
Enhanced() --> cNullString
FileScreen()
Reads the contents of a screen from a file.
FileScreen( <cFileName>, [<nOffSet>] ; // Default: 0 ) --> nBytesRead
FontLoad()
Loads EGA or VGA fonts from a file.
FontLoad( <cFileName>, ; // Type: C [<nFontArea>], ; // Type: N Default: 1 [<nCharOffSet|lChangePixelHeight>], ; // Type: NL Default: 0 [<nNumberOfChars>] ; // Type: N Default: 256 ) --> nErrorCode
FontReset()
Discards all loaded fonts and resets the font to system default.
FontReset() --> lReset
FontRotate()
Mirrors or rotates characters of a font.
FontRotate( <cFontString>, <nDirection>, [<nPixelHeight>], ; // Default: CharPix() [<nStart>] ; // Default: 0 ) --> cNewFontString
FontSelect()
Function FontSelect() is not supported.
GetClearA()
Retrieves the default color attribute for clearing the screen.
GetClearA() --> nClearAttribute
GetClearB()
Retrieves the default character attribute for clearing the screen.
GetClearB() --> nClearCharacter
GetFont()
Copies the current font into a string.
GetFont( [<nFont>] ; // Default: 1 ) --> cFontString
GetScrStr()
Retrieves the screen string for hidden screen output.
GetScrStr() --> cHiddenScreen
GetVgaPal()
Function GetVgaPal() is not supported.
InvertAttr()
Inverts the foreground and the background color of a color attribute.
InvertAttr( <cColorAttr|nColorAttr> ; // Type: CN ) --> nInvertedAttribute
InvertWin()
Inverts the foreground and the background color on the screen.
InvertWin( [<nTop>], ; // Default: 0 [<nLeft>], ; // Default: 0 [<nBottom>], ; // Default: MaxRow() [<nRight>] ; // Default: MaxCol() ) --> cNullString
IsCga()
Checks whether a CGA graphics card can be emulated.
IsCga() --> lCGA_Exists
IsEGA()
Checks whether an EGA graphics card can be emulated.
IsEGA() --> lEGA_Exists
IsHercules()
Checks whether a Hercules graphics card can be emulated.
IsHercules() --> lHercules_Exists
IsMCGA()
Checks whether a MCGA graphics card can be emulated.
IsMCGA() --> lMCGA_Exists
IsMono()
Checks whether a Monochrome graphics card can be emulated.
IsMono() --> lMonochrome_Exists
IsPGA()
Checks whether a PGA graphics card can be emulated.
IsPGA() --> lPGA_Exists
IsVGA()
Checks whether a VGA graphics card is installed.
IsVGA() --> lVGA_IsInstalled
MaxFont()
Determines the maximum number of font areas.
MaxFont() --> 1
MoniSwitch()
Function MoniSwitch() is not supported.
NtoColor()
Converts a numeric color attribute to a string.
NtoColor( <nColorAttribute>, [<lColorsAsChars>] ; // Default: .F. ) --> cAttribute
NumCol()
Retrieves the maximum number of useable screen columns
NumCol() --> nMaxCol
NumColors()
Determines the number of available colors
NumColors() --> nColorCount
RestCursor()
Restores position and shape of the screen cursor.
RestCursor( <nSavedCursor> ) --> cNullString
SaveCursor()
Saves the current cursor position and shape.
SaveCursor() --> nSavedCursor
SayDown()
Outputs a string vertically downwards.
SayDown( <cString>, [<nMilliSecondsDelay>], ; // Default: 4 [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> cNullString
SayMoveIn()
Outputs a string on the screen using a "move in" effect.
SayMoveIn( <cString>, [<nMilliSecondsDelay>], ; // Default: 4 [<nRow>], ; // Default: Row() [<nColumn>], ; // Default: Col() [<lFromRight>] ; // Default: .F. ) --> cNullString
SayScreen()
Displays a string on screen without changing existing color attributes.
SayScreen( <cString>, [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> cNullString
SaySpread()
Outputs a string on the screen using a "spread" effect.
SaySpread( <cString>, [<nMilliSecondsDelay>], ; // Default: 4 [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> cNullString
ScreenAttr()
Determines the color attribute at a specified position on the screen.
ScreenAttr( [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> nColorAttribute
ScreenFile()
Writes the current contents of the screen to a file.
ScreenFile( <cFileName>, [<lAppendToFile>], ; // Default: .F. [<nWriteOffSet>], ; // Default: FileSize [<lTruncateFile>] ; // Default: .F. ) --> nBytesWritten
ScreenMark()
Searches strings on the screen and marks them with a color attribute.
ScreenMark( <cSearchString>, ; // Type: C <cColorAttr|nColorAttr>, ; // Type: CN <lCaseSensitive>, ; // Type: L [<lAllStringsFound>], ; // Type: L Default: .F. [<cPreDelimiter>], ; // Type: C Default: "" [<cPostDelimiter>] ; // Type: C Default: "" ) --> lFound
ScreenMix()
Mixes a string of characters with a string of color attributes
ScreenMix( <cString>, <cAttributeString>, [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> cNullString
ScreenSize()
Retrieves the size of the available screen
ScreenSize( [<lPhysicalScreen>] ; // Default: .F. ) --> nScreenSize
ScreenStr()
Retrieves the screen contents beginning at a specified position.
ScreenStr( [<nRow>], ; // Default: Row() [<nColumn>], ; // Default: Col() [<nCharacters>] ) --> cScreenString
SetClearA()
Sets the default color attribute for clearing the screen.
SetClearA( [<cClearAttr|nClearAttr>] ; // Type: CN Default: "W/N" ) --> cNullString
SetClearB()
Sets the default character attribute for clearing the screen.
SetClearB( [<cClearAttr|nClearAttr>] ; // Type: CN Default: Chr(255) ) --> cNullString
SetFont()
Activates a font that was saved to a string.
SetFont( <cFontString>, [<nFontArea>], ; // Default: 1 [<nCharOffSet|lChangePixelHeight>], ; // Default: 0 [<nNumberOfChars>] ; // Default: 256 ) --> nErrorCode
SetRC()
Sets the current cursor position and updates Row() and Col().
SetRC( [<nRow>], [<nColumn>] ) --> cNullString
SetScrStr()
Toggles hidden screen output.
SetScrStr( <lHiddenOutput> ) --> lHiddenOutput
Standard()
Selects the standard color (1st color) of SetColor().
Standard() --> cNullString
StrScreen()
Displays a screen string at the specified position.
StrScreen( <cScreenString>, [<nRow>], ; // Default: Row() [<nColumn>] ; // Default: Col() ) --> cNullString
UnSelected()
Selects the unselected color (5th color) of SetColor().
UnSelected() --> cNullString
UntextWin()
Replaces all characters on the screen except a range of characters.
UntextWin( <nTop>, ; // Type: N <nLeft>, ; // Type: N <nBottom>, ; // Type: N <nRight>, ; // Type: N <cReplace|nReplace>, ; // Type: CN [<cExceptFrom|nExceptFrom>], ; // Type: CN Default: Chr(176) [<cExceptTo|nExceptTo>] ; // Type: CN Default: Chr(223) ) --> cNullString
VgaPalette()
Function VgaPalette() is not supported.
VideoInit()
Resets the video mode.
VideoInit() --> NIL
VideoSetup()
Queries the video mode at program startup.
VideoSetup() --> nVideoMode
VideoType()
Retrieves information about video adapters.
VideoType() --> nVideoType