PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Example
// Changes the color of the selection bar in the "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.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment