PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
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 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.
Component : wd260page.dll
Minimum version required
  • Version 20
Comments
Click [Add] to post a comment