Move Focus

Navigation:  Knowledge Base > Page Editor > Actions > Property Control >

Move Focus

Previous pageReturn to chapter overviewNext page

Move Focus action will set the focus on the text based UI Parts on the run times or different platforms. Target UI Parts available for this Action are “Text field", "Numeric field" and "Text view". To know more about the action please follow the steps given below:

Step1:  Open a Free Layout Page.

a.Drag a TextField and a RoundButton UI part and drop it on the Page.

b.Browse to the "Functions" section on "Properties Palette window" of RoundButton for applying actions.

c.Click on the corresponding Edit(0) button of the Function on which user wants to apply the Action. To know more about the Functions click here.

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_Movefocus_page mobilous_appexe_npe_myproject_Actions_roundbutton_edit

 

Step 2: Click on "Add" button on the Actions window to add an action.To know more about actions click here.

 

mobilous_appexe_npe_myproject_Actions

 

Step 3: Select the Actions category as “Property Control”.

 

mobilous_appexe_npe_myproject_Actions_category1

 

Step 4: Click on the "Property Control" and then click on “Move Focus” action.

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_Movefocus_setaction

Click here to know about "Doc" Button.

 

Step 5: Enter Action Parameters:-

 

Parameter

Description

Target UI Part

Set the UI part name e.g "targetobject".

 

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_Movefocus_setparameter

 

Step 6: Click on "OK" button if the user doesn't want to add more actions.

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_Movefocus_apply

 

Note: Define condition if required, by clicking on "+" Condition Button on the left. Click here to know more.

 

Step 7: Preview to see the output. Click Move Focus button in the preview. Observe that Focus goes to the TextField UI Part.

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_Movefocus_beforepreview   mobilous_appexe_npe_myproject_Actions_Propertycontrol_Movefocus_afterpreview

 

Note:

1.In preview and Mobile web desktop:- Target Object gets highlighted and shows cursor blinking in the target UI part.

2.In Other RT (Android, iOS and native browser of devices):- Target Object gets highlighted and device keypad will open when “Move focus” action gets executed.