4D v16.3

OBJECT GET SUBFORM

Home

 
4D v16.3
OBJECT GET SUBFORM

OBJECT GET SUBFORM 


 

OBJECT GET SUBFORM ( {* ;} object ; tablePtr ; detailSubform {; listSubform} ) 
Parameter Type   Description
Operator in If specified, object is an object name (string)
If omitted, object is a variable
object  Form object in Object Name (if * is specified) or
Variable (if * is omitted)
tablePtr  Table in Pointer to table of form
detailSubform  Text in Name of detail form of subform
listSubform  Text in Name of list form of subform (table form)

The OBJECT GET SUBFORM command gets the name(s) of the form(s) associated with the subform object designated by the object and * parameters.

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string.

In the tablePtr parameter, the command returns a pointer to the table of the form(s) used. If the subform uses a project form, this parameter contains Nil.
In the detailSubform parameter, the command returns the name of the detail form used in the subform.
In the listSubform parameter, the command returns the name of the list form used in the subform. If there is no list form, an empty string is returned.



See also 

OBJECT GET SUBFORM CONTAINER SIZE
OBJECT SET SUBFORM

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1139

 
HISTORY 

Created: 4D v13

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)