Control - CanFocus Property
CanFocus returns a value indicating whether the control can receive keyboard focus
Member of Control (PRIM_CTRL)
Data Type - Boolean
Details
The CanFocus property returns True if the control can receive focus.
In order for a control to receive input focus
- The control must be realized and have a window handle assigned to it
- The Visible and Enabled properties must both be set to True for both the control and all its parent controls
- The control must be a form or WebPage, or the control's outermost parent must be a Form or WebPage
See also
All Component Classes
Technical Reference
Febuary 18 V14SP2