With this property this behavior can be enabled.
Default value: Disabled
Possible values: Enabled or Disabled
Pressed State
Switch between the release or pressed state of the button. This is important for having a
preview of the object and also for adding pressed/released objects for the button (see
above).
Note: If only one child is assigned to the button the other state will be shown as empty on
PC tool but on the device this one child will show permanently - button shadow should be
used to show button state in this scenario.
This property has no influence to runtime behavior.
Default value: Disabled
Possible values:
·
Enabled (button is in pressed state)
·
Disabled (button is in released state)
Pressed Object ID
Not used for this object type.
Released Object ID
Not used for this object type.
Pressed Image
The image set in this property will be used as the pressed image. By default, this will be set
to the standard rocker switch pressed image.
Released Image
The image set in this property will be used as the released image. By default, this will be
set to the standard rocker switch released image.
The following events can be configured for the button object:
·
OnPress
·
OnRelease
·
OnLongPress
·
OnLongRelease
·
OnDblClick
·
OnOpenForInput
·
OnEnabledWithFocus
·
OnEnabledWithoutFocus
·
OnValueChange
See here for the descriptions of all event and possible actions that can be assigned.
6.4.17