Guide Section: GUI of an EASAP
EASAP Tree: EVENT PROCESSING > ACTION
SET STYLE ACTION dynamically sets an USER INTERFACE STYLE or other CSS to a GUI object.
SET STYLE ACTION is triggered in one of two ways:
![]() |
|
---|---|
Essential Parameters: | |
Object: | Select a GUI object from the dropdown or enter object references for objects whose style will be dynamically modified |
Optional Parameters: | |
Style: | Enter raw CSS text, select a USER INTERFACE STYLE or enter a SCALAR reference to dynamically bind to Object: |
Do if: | Enter a logical expression that must evaluate to true for the Object: style(s) to update Default: true |
Delimiter: | Set a character to delimit objects in Object: Default: % (ie. %objectname%) |
To set a single object's style:
To trigger SET STYLE ACTION from a VALUE CHANGED EVENT:
If an object in a group changes, only that object's style will be updated.
Screenshots showing the VALUE CHANGED and SET STYLE ACTION configuration below: