_GetTextColor Function
◄Summary► ◄Details► ◄Example► ◄Back►
Returns
Integer Current text color attribute
Description
The _GetTextColor function returns the index (attribute) of the
current text color. Text color is set only by the _SetTextColor
procedure and only affects text output generated by the _OutText
and _OutMem procedures. Use the _SetColor procedure to set the
color for font-based text generated by the _OutGText procedure.
The default is the highest legal color index of the current
palette in graphics modes, or 7 in text modes.