Applies to:
Main Dialog
Description:
Changes from the
current state to the
state specified in the parameter. A start size of the Main Dialog of the
state can optionally be defined in the parameter. Action Set State does
set all visible panels back to their default positions, like they were
designed in that state.
This is the only
difference to action Change State,
which leaves the visible panels at their current positions.
This action is used
to exchange the user interface of the whole application in realtime.
Parameter: name of the state to be changed
to and optional start-size for this state.
Parameter format: statename (string),width
(integer),height (integer)
Example parameter: State1,800,600
(changes to State1, sets size to 800x600)
Example: a button which should change
the current state to State1 and set the start-size to 800x600 would have
the following properties:
Target: Main Dialog
Action: Set State
Parameter: State1,800,600
|