Use the Set focus event action to
set the focus on any given control name parameter. For example, you
might incorporate the Set focus event action
so that when a user makes a selection, the result is to take the control
name as the parameter on which the focus needs to be set.
About this task
To add a Set focus event action
to an object:
Procedure
- From the Events view, select the
object in the editor window and double-click the event that you want
to trigger.
The [objectname] Behavior window
opens.
- Click the Add New Action icon.
The Add New Action window opens.
- Select Set focus in
the actions tree.
Note: To quickly find the required event
action, type the name of the action in the filter text field.
- Click Next. The Set focus
action parameters window opens.
- Specify the control name of the component in one of the
following ways:
- Click Finish. The Set
focus action is added. The Add New Action window
closes.
- From the [objectname] Behavior window,
click the Apply button to apply all actions
that have been added for the event.
- Click OK to close the [objectname]
Behavior window.
Results
You have added a Set focus event action to an object.