Sign in Join
FPDoc Onlineexperiment

THintWindow.DoShowWindow procedure

Member of THintWindowprotectedIn unit Forms

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

Declaration

pascal
procedure DoShowWindow; override

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.

This description is the one of Forms.TCustomForm.DoShowWindow.

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