SetFocus

Item Description

Use with:

Windows

SecureLogin version:

All

Type:

Action

Usage:

SetFocus #Ctrl-ID

Arguments:

#Ctrl-ID

The ID number of the control that the keyboard focus will be directed to.

Description:

Gives the keyboard focus to a specified control ID.

For the SetFocus command to function correctly, the #Ctrl-ID must be valid.

Example:

Dialog  
 Title "Login"
 Ctrl #1
EndDialog
SetFocus #301
Type $Username
Type \T
Type $Password
Type \T
Type \N