4D v13.4

CALL SUBFORM CONTAINER

Home

 
4D v13.4
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:

 
PROPERTIES 

Product: 4D
Theme: Form Events
Number: 1086

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v12

 
SEE ALSO 

Form event
GOTO OBJECT

 
TAGS 

Event, Subform***