Salesforce

How Do I Allow Keyboard Navigation to a Push Button? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Allow Keyboard Navigation to a Push Button? (Magic xpa 4.x)

You can specify a push button by simply dropping one on your form, and setting the Button control’s Event Type and Event properties to whatever event you want. The push button will work whenever the user clicks on it with the mouse, or uses an accelerator key (hot key) to push it. However, the user will not be able to tab into the push button.

If you want a push button that can be tabbed into, you need to associate the push button with a variable. You do this by specifying a variable in the Data property of the Button control.

Creating a parkable push button

  1. In the Data View tab of the task, create a virtual that you will use for the push button.

  2. Drop a push button onto your form.

  3. From Control Properties->Data, zoom to select the virtual for this button.

Now, the user will be able to tab to this push button. When you select the Tab Order icon from the toolbar, the button will show up with the number in blue, indicating it is tab-able and that you can change the tab order if you want.

Note: When you create a tab-able push button, the text on the button is actually text within the variable, and needs to be specified differently than for a non-tab-able push button. There are several methods for doing this, see How Do I Specify the Text on a Parkable Push Button?

See also

The Online and Rich Client Samples projects (program HG24 and RHG24)

Reference
Attachment 
Attachment