Altova MobileTogether Designer

Most of the controls used in page designs have predefined events associated with them (see table below). For example a button control has an OnButtonClicked event associated with it. These events are called control events, and each can have an action (a control action) defined for it. When a control event is triggered while a MobileTogether solution is being executed, the control action that has been defined for the event is carried out.

 

The table below lists controls and their events.

 

Control

Event

Assertion Message

— none —

Button

OnButtonClicked

Chart

OnImageClicked

Check box

OnFinishEditing

Combo box

OnFinishEditing

Date

OnFinishEditing

DateTime (iOS)

OnFinishEditing

Edit field

OnTyping

Geolocation Map

OnGeoMapMarkerClicked

Horizontal Line

— none —

Horizontal Slider

OnSliding

Image

OnImageClicked

Label

OnLabelClicked

Radio button

OnFinishEditing

Rich Text

OnFinishEditing

Signature field

— none —

Space

— none —

Switch

OnFinishEditing

Table

— none —

Time

OnFinishEditing

Vertical Line

— none —

Video

OnVideoStarted, OnVideoError, OnVideoCompleted

 

Defining the actions of a control event

Action/s of a control event are defined in the Actions dialog (see screenshot below). Drag the desired action from the left-hand pane into the event tab in the right-hand pane.

 

The Actions dialog of a control is accessed in one of the following ways:

 

Right-click the control, and select Control Actions for ...

In the Styles & Properties Pane, click the Additional Dialog button of the Control Action property

Click Page | Actions Overview to display the Actions Overview dialog. Then click the Additional Dialog button of the control event you want to define.

 

For more information about the various types of available control actions, see the section Actions.

 

© 2017-2023 Altova GmbH