This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
CALL SUBFORM CONTAINER
|
CALL SUBFORM CONTAINER ( event ) | ||||||||
Parameter | Type | Description | ||||||
event | Longint |
![]() |
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:
Product: 4D
Theme: Form Events
Number:
1086
Created: 4D v12
Event, Subform
4D Language Reference ( 4D v20 R7)