Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI how to select several lines on a listbox?

Author
Message
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 10th Mar 2008 17:58
Is is possible to select several items (lines) on BlueGUI's listbox?
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 10th Mar 2008 18:31 Edited at: 10th Mar 2008 18:38
Not on a ListBox, (i think)

you can do that if you make your own ListBox, Make a Panel and inside that panel place your Items,(Made from labels) one above the Other, you can then Simulate Selecting the item by SetGadgetColor

This is the only way i know around

Everyone Be Cool, You, Be Cool.
wildbill
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 10th Mar 2008 19:59
There are several work arounds.
1.You could return the number of items in the list box. Make radio buttons on the fly for the number of items and then select the buttons to select several at once.
2.Just playing around once I noticed that if you use setSelText (instead of setgadgetText)to post to a edit box it will add on the text to whatever is already there. You might could take advantage of that.
Juso
22
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 11th Mar 2008 18:32
Thanks, there seems to be only a hard way: many many lines of code

Login to post a reply

Server time is: 2024-11-23 02:50:57
Your offset time is: 2024-11-23 02:50:57