ItemBackColor, ItemForeColor
These properties determine the color of items in a list box or combo box.
Usage |
oObject.ItemBackColor = nBackColor nBackColor = oObject.ItemBackColor oObject.ItemForeColor = nForeColor nForeColor = oObject.ItemForeColor |
Example |
ThisForm.cboMyCombo.ItemBackColor = RGB(255,0,255) ThisForm.cboMyCombo.ItemForeColor = RGB(255,255,255) |
See Also |
BackColor, DisabledItemBackColor, DisabledItemForeColor, ForeColor, SelectedItemBackColor, SelectedItemForeColor |