FocusOnButtonDown  Folder

Chapter 3: Property Descriptions and Usage

FocusRectangle

Applies to

Graph, Picture, StaticText controls

Description

When the FocusRectangle property is enabled, a dotted rectangle (the focus rectangle) displays when the control has focus. If this property is not enabled, the focus rectangle does not appear.

Usage


In a painter

StepsTo set the FocusRectangle property:

  1. Select the Focus Rectangle check box on the General page of the control’s Properties view.


In scripts

The FocusRectangle property takes a boolean value. The following example specifies that a focus rectangle will appear when the StaticText control has focus.

st_1.FocusRectangle = TRUE





Copyright © 2004. Sybase Inc. All rights reserved. Folder

View this book as PDF