GIVES THE FOCUS TO THE SYSTEM OBJECT NUMBER N
ACTION
The command SET_FOCUS N gives the input focus to the system object designated by its number N. The system object receives then the keyboard events.
SYNTAX:
SET_FOCUS N
USE ERROR EXAMPLE
rem create a BUTTON
button 1:caption 1,"button1"
rem create another BUTTON
button 2:caption 2,"button2":left 2,100
rem wait for 1 second
wait 1000
rem set the focus to the first button
set_focus 1
rem wait for 1 second
wait 1000
rem set the focus to the second button
set_focus 2
SET_FOCUS
SET_FOCUS N
SEE ALSO
-