User Tools

Site Tools


prop_themeactive.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:ThemeActive ====== Previous pageReturn to chapter overviewNext page

Returns a Boolean value (TRUE) if a Windows theme is currently active. This is usually a SYSTEM, READONLY property, but can also be used to test a specific control.

Example:

IF SYSTEM{PROP:ThemeActive} = TRUE   !If a theme is active

!get new font size and set for target controls

Do ProcessNewFontSize  

END

 

!or:

IF ?Button{PROP:ThemeActive} = TRUE   !If a theme on a button is active

!get new font size and set for target control

 ProcessNewFontSize(?Button)

END

prop_themeactive.htm.txt · Last modified: 2021/04/15 15:57 (external edit)