4D v14.3GOTO OBJECT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
GOTO OBJECT
GOTO OBJECT
The GOTO OBJECT command is used to select the data entry object object as the active area of the form. It is equivalent to the user’s clicking on or tabbing into the field or variable. If you specify the optional * parameter, you indicate an object name (a string) in object. If you omit the optional * parameter, you indicate a field or a variable in object. In this case, specify a field or variable reference (field or variable objects only) instead of a string. For more information about object names, see the section Object Properties. To remove any focus in the current form, call the command while passing an empty object name in object (see example 2). The GOTO OBJECT command can be used in the context of a subform. When it is called from a subform, it first looks for the object in the subform, then, if the search does not find anything there, it extends the search to objects of the parent form. The GOTO OBJECT command can be used in both ways: GOTO OBJECT([People]Name) ` Field Reference You don't want any object of the form to have the focus: GOTO OBJECT(*;"") See the example for the command REJECT. |
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL SEE ALSO TAGS Subform ARTICLE USAGE
4D Language Reference ( 4D v14 R2) Inherited from : GOTO AREA ( 4D v11 SQL Release 6) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||