Skip to content

pbAutoScrollFocus - cScrollingClientArea

Determines whether a focus change will attempt to make the control visible

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

Syntax

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

Description

When True, a focus change will attempt to make the control visible.

As you change the focus within your scrolling view, the object will determine if the new focus object is visible. If it is not, it will scroll to make the object visible. This is called "Auto Focus Scrolling".

Auto focus scrolling is limited. It does not scroll within a focus object (e.g., it will not scroll within a rich edit control). This is also true of grids - the auto focus scroll does not consider the current cell location.

Default is True.