4D v16.3

CALL SUBFORM CONTAINER

Home

 
4D v16.3
CALL SUBFORM CONTAINER

CALL SUBFORM CONTAINER 


 

CALL SUBFORM CONTAINER ( event ) 
Parameter Type   Description
event  Longint in Event to be sent

The CALL SUBFORM CONTAINER command lets a subform instance send the event to the subform object that contains it. The subform object can then process the event in the context of the parent form. 

This command must be placed in the form method of the subform or in the object method of one of the subform objects. The event will only be received in the object method of the subform container. 

In event, you can pass any predefined form event of 4D (you can use the constants of the "Form Events" theme) or any value corresponding to a custom event. In the first case, the event must be checked for the subform. In the case of a custom event, it is recommended to pass a negative value in event in order to avoid the risk of interfering with existing or future 4D event numbers.

Example of execution of the CALL SUBFORM CONTAINER command:



See also 

Form event
GOTO OBJECT

 
PROPERTIES 

Product: 4D
Theme: Form Events
Number: 1086

 
HISTORY 

Created: 4D v12

 
TAGS 

Event, Subform

 
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)