ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Miscellaneous WEBDEV functions
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
Toggles a class in the HTML classes of a control: if the class does not exist, it is added; if the class already exists, it is deleted.
Remark: You can also determine and modify the value of the HTML "class" attribute of a control via the HTMLClass property.
Example
HTMLClassToggle(EDT_Edit1, "InputInError")
Syntax
HTMLClassToggle(<Control> , <Class to toggle>)
<Control>: Control name
Name of the control to be used.
<Class to toggle>: Character string
Name of the class to toggle. If a class is found n times in the string, this class is toggled n times.
If several classes must be toggled, this parameter must contain the name of the different classes separated by space characters. Each class will be toggled independently.
Caution: The name of classes is case sensitive.
Component: wd290page.dll
Minimum version required
  • Version 20
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help