PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
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.
Note: You also have the ability to find out and modify the value of the HTML "class" attribute of a control via ..HTMLClass.
Example
HTMLClassToggle(EDT_Edit1, "InputInError")
Syntax
HTMLClassToggle(<Control> , <Class to Toggle>)
<Control>: Character string (with or without quotes)
Name of the control to use.
<Class to Toggle>: Character string (with quotes)
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.
Components
WEBDEV - Server code wd230page wl2js.dll
WEBDEV - Browser code WDJS.DLL
Linux wd230page wl2js.so
Minimum required version
  • Version 20
Comments
Click [Add] to post a comment