[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Is this control allowed to receive the focus?
Source position: controls.pp line 2130
public function TWinControl.CanFocus: Boolean; virtual; |
A control can get the focus only when all of its Parents except the form are Visible and Enabled. While CanFocus checks all control parents it does not check whether a form control is placed on can have focus.