Initializes the cControlChild_Event object.
.Initialize(ctl, EventName, TriggerWhenEmpty)
A variable that represents a cControlChild_Event
||Required / Optional
||Reference to the control which is the
||Name of the event which is being trapped.
||Indicates whether the event should be trapped even if no callback functions have been registered. Default is False.
should match the name of the event being trapped (e.g., "OnClick", "AfterUpdate", "OnChange", etc.)
allows the event to be trapped even if no callbacks have been registered. If False, the event will not be trapped until the first callback is registered using the
This example initializes the cControlChild_Event object member, OnClick. The control is a combobox control:
OnClick.Initialize cboMyCombobox, "OnClick"