[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Adds the specified handler routine to the new form handlers for the screen instance.
Source position: forms.pp line 1236
public procedure TScreen.AddHandlerNewFormCreated( |
OnNewFormCreated: TScreenFormEvent; |
AsFirst: Boolean = False |
); |
OnNewFormCreated |
|
Handler routine added to the internal new screen form handlers for the TScreen instance. |
AsFirst |
|
True if the handler is inserted as the first handler for the type. False if the routine is append to the end of the list for the handler type. |
AddHandlerNewFormCreated calls an internal method which adds the form handler routine in OnNewFormCreated to the list of handlers for the snNewFormCreated notification type. OnNewFormCreated is an implementation of TScreenFormEvent which provides access to the screen and form instances for the notification event. AsFirst indicates whether the handler is inserted at the beginning of the list (True) or appended to the end of the list (False). The default value for the AsFirst parameter is False.
Added in LCL version 3.0.
|
Removes the specified handler routine from the new form handlers for the screen instance. |
|
|
Screen notification events and handler types. |
|
|
Type used for a screen notification handler for form-related events. |
Version 3.2 | Generated 2024-02-25 | Home |