ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The AutomaticTextColor property is used to identify and change the color to be used for the text 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 the element to be used: 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 the element to be used: 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

Last update: 05/26/2022

Send a report | Local help