Specifies the foreground color of the text of a selected item in a ComboBox or ListBox or cell (TextBox only) in a Grid control. SelectedItemForeColor is related to the HighlightForeColor and HighlightBackColor properties in that you need to control the color of the selected cell in a grid row. Read/write at design and run time.
Control.SelectedItemForeColor [= nColor ]
Control.SelectedItemForeColor = RGB( nRedValue, nGreenValue, nBlueValue )
- Numeric data type. SelectedItemForeColor specifies an integer representing a color value. Visual FoxPro derives the default color setting from the Windows operating system font color setting for Selected Items. For information about valid color values, see BackColor, ForeColor Properties.
For more information about the Grid SelectedItemForeColor and GridSelectedItemBackColor properties, see SelectedItemBackColor Property.