TScreen.AddHandlerNewFormCreated procedure
Adds the specified handler routine to the new form handlers for the screen instance.
Declaration
procedure AddHandlerNewFormCreated(OnNewFormCreated: TScreenFormEvent;
AsFirst: Boolean=False)Arguments
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. |
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
