Loading...
You can use different script functions to generate triggers for #Groups in templates.
Function | Syntax | Description |
---|---|---|
SHOW | SHOW( «true_false» , «fields\#groups» ) | Shows or hides item. |
ENABLE | ENABLE( «true_false» , «fields\#groups» ) | Enables or disables field. |
FIELDCOLOR | FIELDCOLOR( «textcolor», «backcolor», «fieldname(s,)» ) | Changes field color. |
FIELDSTYLE | FIELDSTYLE( «style», «fieldname(s,)» ) | Changes field style. |
ASSIGN | ASSIGN( «source» , «dest1», «dest2»,,, ) | Assigns source value to the list of destination parameters. |
OREQUAL | OREQUAL( «no case» ,«compare_to», «value1», «value2»,,,, ) | Compares a value to the fields and variables using OR logic. |
EQUAL | EQUAL( «no case» ,«compare_to», «value1», «value2»,,,, )} | Compares a value to the fields and variables using AND logic. |
FIELDCOLOR | FIELDCOLOR( «textcolor», «backcolor», «fieldname(s,)» ) | Changes field color. |
ITEMDATA | ITEMDATA( «field», «idx» ) | Obtains item data associated with a template field as specified in the fields item data property.
|
SETMYPHRASE | SETMYPHRASE («field», «phrase_type» | Sets my phrase type on edit field invoked by # character. |
SHIFTFIELDS | SHIFTFIELDS( «direction , «pixels», «fields» ) | Moves field up, down, left, or right by a number of pixels. |
SETFONT | SETFONT( «fontname» , «size», «bold», «fields» ) | Sets the font on the template controls. |
SETROUNDED | {SETROUNDED( «true_false», «field(s)» )} | Toggles between rounded corner on panels, edit and push buttons. |
SETHOVCOLOR | {SETHOVCOLOR( «textcolor» , «backcolor», «fields\#groups» )} | Sets the mouse hover color, and back colour of the text or push button. |
SETPRESSCOLOR | {SETPRESSCOLOR( «backcolor», «fields\#groups» )} | Sets selected color of button. |