AddCss Method (CLIENT)
PLB Web Only. 9.9B
The AddCss method loads custom CSS classes that can then be referenced using the WEBCLASS property. The method uses the following format:
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A CLIENT object.
return
Optional. A Numeric Variable that returns the success or failure of the method.
url
Required. A Character String Variable or string literal that defines the CSS to be loaded.
options
Optional. A Numeric Variable or decimal number whose value controls specific behaviors of the AddCss method.
Flags Affected: OVER, ZERO
Note the following:
The ZERO flag is set when the {return} value zero.
The OVER flag is set if the value returned is too large to be stored into the {return} variable.
The {url} string gives a link that allows a custom CSS file to be loaded. The CSS classes can then be referenced using the WEBCLASS property of PL/B GUI objects.
The {options} value invokes special behaviors for this method as follows:
|
Value |
Description |
|
0x1 |
This value causes the method to allowthe same CSS file to be updated for any secondary updates after the first update has occurred. Otherwise, a subsequent update of the same CSS file is ignored.(9.7C) |
See Also: CLIENT, Client Methods, Method Syntax
![]() |