Multiple selection for listbox (begin dialog userdialog)

N

nabira

Dim lista1() As Long
Begin Dialog UserDialog 700,200,"Titolo"

Text 10,10,680,15,"Selezionare i tipi oggetto"

ListBox 10,25,680,150,sString(),.lista1

OKButton 10,175,100,21

End Dialog

I would like to build an UserDialog with a ListBox that allows
MULTIPLE SELECTION. Is it possible?

thanks

Naibira
 
J

Jonathan West

nabira said:
Dim lista1() As Long
Begin Dialog UserDialog 700,200,"Titolo"

Text 10,10,680,15,"Selezionare i tipi oggetto"

ListBox 10,25,680,150,sString(),.lista1

OKButton 10,175,100,21

End Dialog

I would like to build an UserDialog with a ListBox that allows
MULTIPLE SELECTION. Is it possible?

thanks

Naibira

This looks like WordBasic code rather than VBA. That suggests you are using
Word 95. If so, I believe there is no way of making a multi-select ListBox
in WordBasic.

If you want to have a multi-select listbox, then you need a newer version of
Word, and to create a UserForm instead of a UserDialog.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top