Navigation:  Reference > Commands >

Set Focus

Print this Topic Previous pageReturn to chapter overviewNext page

 

This command will set an object on the current form/screen as active.

 

SET_FOCUS f/c/e Required - This is the name of the object you want to set active.  The object must exist on the current form and must be able to accept user input.

 

COMMENTS

When a form is loaded the program will automatically set the first object active as you have specified when designing the form.  In some cases you might want to set a different object active, or when you return from a TAS routine you might want the user to automatically start with a certain object without forcing them to click on that object.  This command has the same effect as if the user moved their mouse cursor to the object and left-button clicked on it.

 

SEE ALSO

last_obj()

 

 

 


Page url: http://www.cassoftware.com/tas/manual/setfocus.htm