Queue tab

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% Platform(s)
Events NO NO NO All

Syntax

Queue tab ([Shift])

Options

10% 90%
Shift If specified, the queued event behaves as if the shift key has been pressed

Description

This command queues a "tab" or "shift-tab" event. It simulates a user-generated tab event. With the Shift option, it simulates a shift-tab keypress.

Example

# Field method for a window field to simulate auto tab. When the 4th character is entered
# a tab occurs. The field must have $keyevents turned on.
On evBefore iCount as 0
On evKey
  Calculate iCount as iCount+1
  If iCount>3
    Queue tab
  End If