Skip to content

pbPromptListBehavior - cDbCJGrid

Determines if the grid is being used in a prompt list fashion

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

Syntax

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

Description

pbPromptListBehavior is primarily used by the cDbCJGridColumn objects to determine if the grid is being used for data entry or as a read-only prompt list. When being used as a prompt list some of the column's data dictionary behaviors should not be applied such as entering, exiting, validating, autofind, skipfound and prompt lists. By querying this property the same cDbCJGridColumn class can customize its behavior for the appropriate mode. This allows the same class to be used by cDbCJGrids (where pbPromptListBehavior is false) and cDbCJGridPromptLists (where pbPromptListBehavior is true).