[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Chooses the active control when the form becomes visible at run-time.
Source position: forms.pp line 638
protected procedure TCustomForm.DoShowWindow; virtual; |
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.
Version 3.2 | Generated 2024-02-25 | Home |