NoFocusRect

[property icon] NoFocusRect

Enables or disables the buttons focus rectangle

Boolean property

Applies to: Picture Button


>

NoFocusRect

This property is used to determine if a focus rectangle is to be placed onto the control if the control gets focus. Normally if the control is being used as a button then you would want a focus rectangle, therefore this property should be set to FALSE. However if the control is simply being used to display a picture then this property should be set to TRUE, for example:

.picControl1.NoFocusRect = TRUE

and to find out the current setting the following could be used:

Rectangle = .picControl1.NoFocusRect

See also

Picture Button methods, properties and events.