Queue tab

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

Syntax

Queue tab ([Shift])

Options

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