DrawFocus property


Available for Button objects.

Read/Write at design time
Read/Write at run time

Specifies whether a Button object draws a rectangle on its client area when it has the focus. It can be one of the following values:

TRUE     Button object draws a rectangle when it has the focus (default).
FALSE   Button object does not draw a rectangle when it has the focus.


REMARKS: This property only has effect when the OwnerDraw property is set to TRUE.