Skip to content

Combo_Description_Value - dbDataComboForm

A "hook" message that allows you to customize the combo description

Type: Event
Return Data Type: String

Parameters

Parameter Type Description
DescVal String What you see in the combo form
DataVal String The value that is read and written to the datafile

Syntax

Function Combo_Description_Value String DescVal String DataVal Returns String

Description

Combo_description_value is a "hook" message that allows you to customize the combo description.

By default, it returns: - if Code_Display_Mode = CB_CODE_DISPLAY_DODE: DataVal - if Code_Display_Mode = CB_CODE_DISPLAY_BOTH: (DataVal * "-" * DescVal)

Can be augmented to change what is displayed for all or specific items (e.g., to capitalize it, or lower-case it). It is used by Combo_Add_Item.

Return Value

Returns prompt