Hi Budi
Well, hopefully Frank or someone else can tell us about an easier way.
But the only
way I have gotten multi-select working is as follows.
Drop on the form, and select some source, and some field to bind to.
Then go and unbind the control from a data field. Now you can
choose either an SQL statement to fill the list, or you can change to
Value List
and then you have a new property on the first page 'List Entries'. I
have used the SQL
statement way.
Now multi-select will work
I have not done what it appears you are wanting to do,
moving the data in and out of fields.
I have used this to allow the user to set a type of filter condition.
I get the users selection by using the 'Item Status Changed' event
to call into a routine that reads the selectedItems property
of the listbox.
Andrew Jensen
Budi Rianto wrote:
Hi All,
I have problems with this multiselection listbox.
Here are what I did:
create listbox with sql statement, change its control property: dropdown to no
and multiselection to yes. the field type for storing the value selected is
text(varchar).
Now, when I run the form, I still can't do multiple selection, using
shift+click nor ctrl+click.
Is there anything wrong or I missed?
currently using OOo 2.0 m130 on linux.
Thanks,
Budi.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]