AddWebClass Method
PLB Web Only, 10.6
The AddWebClass method adds one or more HTML classes to a web object that is implemented as a visible HTML object. This method uses the following format:
|
|
|
|
|
|
|
|
Where:
Flags Affected: EOS, OVER, ZERO
Note the following:
This method dynamically changes the HTML classes. Each class in the class string must be separated by a space.
The EOS and OVER flags are always cleared.
The ZERO flag is always set to TRUE with a return value of zero.
The optional {flags} bit mask values changed the executions behavior of the SetWebStyle method as follows:
|
Value |
Meaning |
|
0x1 |
This bit value causes the CSS style to be applied to the HTML <div> enclosing the web object. |
|
0x2 |
This bit value causes the CSS style to be applied to the HTML <label> in the web {object}. |
Example of AddWebClass method for a web object:
See Also: RemoveWebClass, Objects
![]() |