diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-21 19:40:39 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-22 17:55:14 +0200 |
commit | bfc0bf6a164f25c6e2af86fb0298ecb0f88c9df9 (patch) | |
tree | bfdd455d9f9dbb124e5caf7cbcfc855e88133171 /offapi | |
parent | Data-aware ListBox: can have a BoundColumn even without bound database column (diff) | |
download | core-bfc0bf6a164f25c6e2af86fb0298ecb0f88c9df9.tar.gz core-bfc0bf6a164f25c6e2af86fb0298ecb0f88c9df9.zip |
Data-aware ListBox: BoundValue==-1 to store index in list
Change-Id: I248cd5ec62574f47a27f8b37e1e90333b8748af2
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/form/component/DatabaseListBox.idl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/offapi/com/sun/star/form/component/DatabaseListBox.idl b/offapi/com/sun/star/form/component/DatabaseListBox.idl index aa27e8d75986..e77ee25184ca 100644 --- a/offapi/com/sun/star/form/component/DatabaseListBox.idl +++ b/offapi/com/sun/star/form/component/DatabaseListBox.idl @@ -72,13 +72,15 @@ published service DatabaseListBox <member scope="com::sun::star::form">DataAwareControlModel::DataField</member>. <dl> - <dt>0</dt> - <dd>The selected (displayed) list box string is stored in - the current database field.</dd> - - <dt>1 or greater</dt> - <dd>The column value of the result set at the position is - stored in the current database field.</dd> + <dt>-1</dt> + <dd>The index (starting at 0) of the selected list box entry + is stored in the current database field.</dd> + + <dt>0 or greater</dt> + <dd>The column value of the result set at the position + (0-indexed) is stored in the current database field. + In particular, for value 0, the selected (displayed) + list box string is stored.</dd> </dl></p> <p>The bound column property is only used if a list source is defined |