:: com :: sun :: star :: form :: component ::

service DatabaseComboBox

Included Services - Summary
ComboBox
(referenced entity's summary:)
::com::sun::star::form::DataAwareControlModel
(referenced entity's summary:)
Properties' Summary
boolean
ConvertEmptyToNull
determines if an empty text should be treated as a NULL value.  
string
ListSource
describes the source of items in the combo box's list.  
::com::sun::star::form::ListSourceType
ListSourceType
specifies the kind of list source.  
Included Services - Details
ComboBox
(referenced entity's summary:)
::com::sun::star::form::DataAwareControlModel
(referenced entity's summary:)
Properties' Details
ConvertEmptyToNull
boolean ConvertEmptyToNull;
Description
determines if an empty text should be treated as a NULL value.

When the user enters text into a combo box, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.
This is controlled by ConvertEmptyToNull.

If the property is set to true, and an empty text is to be commited, this is converted into NULL, else it is written as empty string.

ListSource
string ListSource;
Description
describes the source of items in the combo box's list.

The concrete meaning of this property depends on the value of ListSourceType

ListSourceType
::com::sun::star::form::ListSourceType ListSourceType;
Description
specifies the kind of list source.

Note: A value of ::com::sun::star::form::ListSourceType::VALUELIST is not valid for a combo box. It won't be rejected when setting it, but controls will usually ignore it and leave the list empty.


 
Top of Page