Set Focus Off

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

Set Focus Off

Previous pageReturn to chapter overviewNext page

Set Focus Off action will set the focus away from the text based UI Parts on the run times or different platforms. 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_setfocusoff_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_setfocusoff_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_setfocusoff_setparameters

 

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

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_setfocusoff_actionset

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 "Set Focus Off" button in the preview. Observe that Focus goes away from TextField UI Part.

 

mobilous_appexe_npe_myproject_Actions_Propertycontrol_setfocusoff_preview1     mobilous_appexe_npe_myproject_Actions_Propertycontrol_setfocusoff_preview2