PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Error
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Example
// Changes the color of selection bar in "TABLE_Orders" control
SelectionColor(TABLE_Orders, RGB(255,200,200), LightGreen)
Syntax
SelectionColor(<Control name> , <Text color> , <Background color>)
<Control name>: Character string (with or without quotes)
Name of control to use: 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 corresponds to:
<Background color>: Integer
New background color for the selection bar. This color corresponds 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.

Various

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