PML Customisation User Guide

Gadget Set : Button Gadgets : Buttons of Type Toggle
For these buttons, the Unselected and Selected pixmaps swap whenever the button is pressed, so alternating between the two images in the pressed and un-pressed states.
The syntax to select the new mode is toggle, which can be anywhere after the button name and before the button control type or associated form, e.g.
The button’s value-member !button.val is a BOOLEAN and reflects the button’s state, having the value TRUE when the button is pressed and FALSE when it is not.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo