Description
Used to set the default background and foreground colors of a cell.
Applicable Events
Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.SetDefaultColor (nBackground,nForeground)
Parameters
Object is a reference to the GridChoiceDialog object. For more information, see GridChoiceDialog Object (page GridChoiceDialog Object).
SetDefaultColor is the command.
nBackground, is the background color of the cell. It must be a 24bit RGB color value.
nForeground, is the foreground color of the cell. It must be a 24bit RGB color value.
Example
The following example sets the background color to green and the foreground color to orange.
GridChoiceDialog.SetDefaultColor (&h40FF80, &hFF8040)