Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2007

Tip: Looking for answers? Try searching our database.

Multiple selection for listbox (begin dialog userdialog)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nabira - 16 Oct 2007 12:07 GMT
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
Jonathan West - 16 Oct 2007 15:01 GMT
> Dim lista1() As Long
> Begin Dialog UserDialog 700,200,"Titolo"
[quoted text clipped - 13 lines]
>
> 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.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.