Skip to content

pbAddEmptyItem - cWebCombo

Determines whether an empty item is added at the beginning of the combo list

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

Syntax

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

Description

Determines whether an empty item is added at the beginning of the combo list.

If your DataDictionary (DD) does not have a default value, you need to include an empty value. Even if you have a default, it is fine to allow a blank line, which will probably fail upon validation (unless the ValidationTable the DD is using for this table column allows blanks (see Allow_Blank_State)).

You can set the value of this empty item with psEmptyItemDescription.

This property only works with data-aware combo controls.