Skip to content

Prompt_Button_Mode - dbGridDS

Determines if prompt_button_value will be displayed to the right of column labels

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

Syntax

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

Description

The default value of the Prompt_button_mode property inherited from the superclass is changed to PB_promptAuto, which displays the prompt_button_value to the right of column labels. Changing this to PB_promptOff would disable this display for all columns.

Constant Meaning
PB_PromptOff The prompt button object is not displayed.
PB_PromptOn The prompt button object is displayed and the message prompt is sent when the button is pressed.
PB_PromptAuto The prompt button object is displayed automatically if a prompt object exists. This is determined at run time. If the prompt_object property is non-zero, a prompt button is displayed. This is the default value for the dbForm class.

Default is PB_PromptAuto.

Col 1 Col 2
Note: This property replaces the obsolete property Auto_Create_Prompt_Button.