Sign in Join
FPDoc Onlineexperiment

TCustomForm.DoShowWindow procedure

Member of TCustomFormprotectedIn unit Forms

Chooses the active control when the form becomes visible at run-time.

Declaration

pascal
procedure DoShowWindow; virtual

Description

Calls a private method to locate the first visible and enabled control in the tab order for the form. Sets the value in ActiveControl to the control instance located in the method.

No actions are performed in the method at design-time, when ActiveControl has already been assigned, or when the form instance has a Parent.

DoShowWindow is called from the WMShowWindow method where the LM_SHOWWINDOW window message is handled for the form.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.