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

TForm.CreateWnd

Creates the handle for the widgetset class and updates it menu and icons.

Declaration

Source position: forms.pp line 845

protected procedure TForm.CreateWnd; override;

Description

CreateWnd is an overridden method in TForm. It makes the form instance the main form in the Application singleton if not already assigned and the form is not a MDI Child or a splash form.

CreateWnd calls the inherited method to create (or re-create) the Handle for the widgetset class, set the form state and auto-sizing behavior, and update its Menu and Icons.

See also

TCustomForm.CreateWnd

  

Creates the handle for the widgetset class and updates it Menu and Icons.

TCustomForm.FormStyle

  

Indicates the style for the form.

TCustomForm.Menu

  

The main menu for the form instance.

TCustomForm.Icon

  

The Icon associated with this Form (in minimized state).

TCustomForm.BorderIcons

  

Specifies the icons which appear in the title bar for the form.

TApplication.MainForm

  

Contains the main form for the application.


Version 3.2 Generated 2024-02-25 Home