[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.DoFirstShow

Executes handlers using the FirstShow handler type.

Declaration

Source position: forms.pp line 673

protected procedure TCustomForm.DoFirstShow; virtual;

Description

Calls CallNotifyEvents in the internal method list for any methods using the fhtFirstShow handler type. The form instance is passed as an argument to the handler(s).

Called from the UpdateShowing method when the form is Visible and its Showing property is changed to True. Occurs after MoveToDefaultPosition has been to called to position the form on its monitor, and after the value fsFirstShow has been included in the FormState property.

See also

TCustomForm.UpdateShowing

  

Configures and position the form when its visibility has been changed.

TCustomForm.Visible

  

Indicates if the control is visible on its parent.

TCustomForm.MoveToDefaultPosition

  

Moves the form to the location specified in the Position property.

TCustomForm.FormState

  

State flags for the form.

TFormHandlerType

  

TForm Notification handler types.

TFormStateType

  

Form state flags.

TWinControl.Showing

  

Cached visibility for the widget. Not necessarily in sync with the widget.


Version 3.2 Generated 2024-02-25 Home