ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
  • Error
  • Miscellaneous
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SelectionColor (Function)
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.
Example
// Changes the color of selection bar in "TABLE_Orders" control
SelectionColor(TABLE_Orders, RGB(255,200,200), LightGreen)
Syntax
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:
Remarks

Error

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.

Miscellaneous

SelectionColor can be used to define the selection bar characteristics of a Combo Box control in a Table control.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/02/2023

Send a report | Local help