Applies to:
States overview
Description:
Object properties are subdivided in two categories,
global properties, which are valid for all states and local object properties,
which can be exchanged state by state.
Global
object properties:
Global properties are specified
once in the Main State of the application and will stay the same for each
state in your project. They will be unchangeable in all other States and
therefore they'll be greyed out in all states but the Main State.
Important note: an exception is the
object name, which can be changed
in all states, but is global anyway. If you change the name of an object
in one state, it'll be changed in all others as well.
List of global properties
by object type
Local
object properties:
Local
properties can be changed for each state you define. For example the visibility
of an object (shown or not shown) can be defined separately in each state
for the same object.
Also
the graphical appearance of objects is usually a local property. Buttons
can even execute different actions in different states.
Example: a button named button1
can have different graphics and execute different actions on different
targets in each state.
The
role (function) of a label or edit object on the other hand is a global
property, only the graphical appearance, dimensions and position can be
changed in other states.
List of local object properties
by object type
Adding
and hiding objects within States:
If
you add new objects to a state, they will be present in all other states
as soon as you create them. Objects which are only relevant to a single
state, need to be deactivated in all other states, via the local property
checkbox "Visible" (uncheck it to make object invisible). In
order to hide the object in design mode as well, the checkbox "Visible
in design mode" needs to be unchecked additionally.
Related
topics:
States window
States
- "multiple app's in one" - realtime exchange of user interface
and functions |