Skip to content

pbUseFocusCellRectangle - cCJGrid

Specifies whether to draw a focus rectangle for the selected cell

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbUseFocusCellRectangle
Access Type Syntax
Read Access: Get pbUseFocusCellRectangle to BooleanVariable
Write Access: Set pbUseFocusCellRectangle to BooleanVariable/Value

Description

When True a rectangle is drawn around the perimeter of the currently selected grid cell. When False, no such rectangle is drawn.

If pbUseFocusCellRectangle is set to False for a grid object when that object is paged, then setting this property to True will not be applied until the next time that the grid object is paged. i.e. the view containing the grid must be closed then reactivated. This is due to a painting optimization that is applied when the COM object is created (i.e. when the grid is paged).

See also piFocusCellRectangleColor.