SelectedItemBackColor, SelectedItemForeColor
These properties determine the colors used for the items currently highlighted in a list or combo box.
Usage |
oObject.SelectedItemBackColor = nBackColor nBackColor = oObject.SelectedItemBackColor oObject.SelectedItemForeColor = nForeColor nForeColor = oObject.SelectedItemForeColor |
Example |
ThisForm.lstFriends.SelectedItemBackColor = RGB(0,0,255) ThisForm.lstFriends.SelectedItemForeColor = RGB(255,255,255) |
See Also |
BackColor, ForeColor, ItemBackColor, ItemForeColor, SelectedBackColor, SelectedForeColor |