FocusRect Property

Applies to:  Panel control, HotButton control, DirectionalButton control
See also:  Property Index

Determines whether a focus rectangle will be drawn when the control has the keyboard focus.

Read/Write at both design-time and run-time.

Type:

Boolean

Settings:

Value Meaning
True The control will display a focus rectangle when it has keyboard focus.
False The control will not display a focus rectangle when it has keyboard focus. 

Remarks:

Setting the FocusRect property to False will not prevent the control from receiving keyboard focus.

The focus rectangle gives visual feedback to the user as to which control currently has the keyboard focus.  If the FocusRect property is set to false, then your application should give some indication as to which control has keyboard focus.

 

Home

Copyright and Disclaimer