613-518-1166 info@zimdatabases.com

ZIM Language Reference

FORM SET FOCUS

< All Topics

Sets the focus on a particular form field.

Syntax

FORM SET FOCUS «object»

Parameters

object

Can be
formfield
The name of a field within an open form. To specify a particular instance of a form field, append the instance number in brackets.
([exp1 ],[exp2 ],[exp3 ])
Positive integers or expressions that evaluate to positive integers, that identify a particular form field to receive focus. Exp1 identifies the form number; exp2, the field number; exp3, the instance of the form or form field in the display. At a minimum, exp2 must be specified.
Focus is placed on the specified field, or on the first available instance of the specified field. If all form fields specified in the command are unavailable, focus moves to the next available field.

Comments

Focus is positioned at the specified form field. If the field is unavailable, the focus moves to the next available field.

Example

form set focus fAddEmp.EmpNum[5]

form set focus (2,2,5)

 

See Also

FORM SET

SET CURSOR

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents