Queue set current field

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

Syntax

Queue set current field {field-name}

Description

This command queues a "set current field" event in the specified field, that is, it simulates a user-generated click or tab to the specified field. In enter data mode, the contents of the field is selected. The command does not generate an evClick. However it will produce proper evBefore and evAfter events during Enter data.

The field name parameter must be the name of a window field, not the name of the method associated with the field or the data name ($fieldname, not $dataname).

Example

; field method to jump to another field within the same window instance
On evAfter
  Queue set current field {myField}