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 gets and sets 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

Getting the color set as Automatic Hide the details

<Result> = <Element used>.AutomaticTextColor
<Result>: Integer or Integer constant
Color set as Automatic. 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.

Changing 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 set as Automatic. This color can correspond to:
Remarks
When the Automatic color is modified, all the elements that use the "Automatic" color in their style are also 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: 04/19/2024

Send a report | Local help