Skip to content

CustomScrollState - Grid

Determines changing scroll bar behaviors

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

Syntax

Property Integer CustomScrollState
Access Type Syntax
Read Access: Get CustomScrollState to IntegerVariable
Write Access: Set CustomScrollState to IntegerVariable/Value

Description

Any time you customize the scroll bar messages you should set the CustomScrollState.

If you are going to be changing scroll bar behaviors you are going to need to replace the behaviors in the existing super-classes (the dfbase and dfdata packages), while making sure that these messages still get forwarded to the runtime. These messages must get forwarded to the runtime or scrollbar control will not be notified of changes. To accomplish this you must set the property CustomScrollState to True.

When set to True, the package augmentations for the messages SetVScrollInfo, SetVScrollPos and SetVScrollBox are ignored and the messages are forwarded to the runtime.