PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

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
..AutomaticTextColor is used to find out and modify the color that will be used for all the captions of the elements that use the "automatic" color.
Example
// Switch to reverse video
WIN_Overview..BackgroundColor = Black
WIN_Overview..AutomaticTextColor = White
Syntax

Finding out the color associated with the automatic color Hide the details

<Result> = <Element used>..AutomaticTextColor
<Result>: Integer or Integer constant
Color associated with the automatic color. This color can correspond to:
<Element used>: Window name or control name
Name of element to use: window, internal window, supercontrol, Tab control, Multiline Zone control, Ribbon control.

Modifying the color associated with the automatic color Hide the details

<Element used>..AutomaticTextColor = <New color>
<Element used>: Window name or control name
Name of element to use: window, internal window, supercontrol, Tab control, Multiline Zone control, Ribbon control.
<New color>: Integer or Integer constant
Color associated with the automatic color. This color can correspond to:
Remarks
When modifying the automatic color, all the elements that use the "automatic" color in their style are modified. The elements that do not use this color are not modified.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment