Skip to content

pbHeaderPrompts - cCJGrid

Determines if clicking on the header should send the Prompt message

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

Syntax

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

Description

pbHeaderPrompts determines if clicking on the header should attempt to invoke a prompt list for the column. If false, the default, this does not happen. If true, the grid will check to see if a prompt object exists for the column by getting the column object's Prompt_Object. If there is a prompt object, the grid will attempt to move to the column and, if successful, send prompt to the column object.

The properties pbHeaderPrompts, pbHeaderSelectsColumn and pbHeaderReorders all determine header click behavior. All of this logic resides in OnHeaderClick, which may by overridden or augmented to perform other custom behaviors.