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:

 

[label]

{object}.AddCss

[GIVING {return}] USING [[*Url=]{url}][:

 

 

[*Options=](options}]

 

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:

  1. The ZERO flag is set when the {return} value zero.

  2. The OVER flag is set if the value returned is too large to be stored into the {return} variable.

  3. 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.

  4. The {options} value invokes special behaviors for this method as follows:

  5.  

    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



PL/B Language Reference AppBeacon Method (CLIENT)