Salesforce

How Do I Condition an Operation to be Executed only When the End User Tabs from one Field to (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Condition an Operation to Be Executed Only When the End User Tabs from One Field to Another in a Certain Direction? (Magic xpa 2.x)

Most of the time, the logic associated with a certain field should execute whether the cursor is moving up the screen or down it, since in a Windows environment users tend to click wherever they feel like. However, for more keyboard-centric applications, you can specify whether logic is executed according to the direction of the cursor flow. You do this using the Flow() function.

Flow(<string>) where <string> is:

Direction

Mode

N

Next

Step mode

F

Forward

Fast mode

P

Previous

Step mode

R

Reverse

Fast mode

S

Select exit

C

Cancel


Flow('N') will return TRUE if the user is tabbing forward into a field. Flow('P') will return TRUE if the user is moving backward into it.

See also

The Online and Rich Client Samples projects (program LG12 and RLG12)

Reference
Attachment 
Attachment