In french: CouleurSélection
Changes the characteristics of the selection bar in a Table control, Combo Box control or List Box control. The new characteristics are immediately taken into account.
// Changes the color of selection bar in "TABLE_Orders" control
SelectionColor(TABLE_Orders, RGB(255,200,200), LightGreen)
SelectionColor(<Control used> , <Text color> , <Background color>)
<Control used>: Control name
Name of the control to be used: Table, List Box or Combo Box control. The color of the selection bar will be modified for this control.
<Text color>: Integer
New color for the text of the elements selected in the control. This color can correspond to:
<Background color>: Integer
New background color for the selection bar. This color can correspond to:
A WLanguage error occurs at run time if the name of the control does not correspond to a Table control, a List Box control or a Combo Box control.
SelectionColor can be used to define the selection bar characteristics of a Combo Box control in a Table control.
This page is also available for…