Skip to main content
1-Visitor
October 14, 2011
Question

list box with multiple selection

  • October 14, 2011
  • 4 replies
  • 4403 views

Hi folks,

I lookig for a list box component or something similar for which I can make multiple selections in one shot (for instance, by presing the ctrl button as in excel).

Thanks a lot for your help

Best Regards,

-JM

4 replies

24-Ruby IV
October 15, 2011

May be so:

http://twt.mpei.ac.ru/ochkov/Mathcad_12/7_20_List.png

19-Tanzanite
October 15, 2011

There is a multiselect list box here:

Extra Components.mcd

Search for "Dynamically filled list boxes"

jmit1-VisitorAuthor
1-Visitor
October 16, 2011

Thx for your answer Richard.

Does it work out properly for you?

For me, component not really reliable.

Also, do you know a way to change the size of the box?

Auto-adjustment ?

thx anyway

-jm

19-Tanzanite
October 17, 2011

Does it work out properly for you?

For me, component not really reliable.

In what way?

Also, do you know a way to change the size of the box?

Auto-adjustment ?

I can add seom inputs so that you can easily change the height and width. Autosizing is not available though.

jmit1-VisitorAuthor
1-Visitor
October 17, 2011

1) By reliable, I meant that if I press left click + crtl once on the first item, the third and finally the fifth, it will select everything or unselect my initial selection.

++> Same observation with other scenarii.

2) I tried to add arguments like MSlistbox.Height = 11 etc... at the beginning of the script but seems not working!!

Thx for your help on both items

JM

19-Tanzanite
October 18, 2011
1) By reliable, I meant that if I press left click + crtl once on the first item, the third and finally the fifth, it will select everything or unselect my initial selection.

++> Same observation with other scenarii.

Hmmm. Works fine for me. If I select 1, 3, and 5 then that's what I see in the output vector. Which OS are you using?

jmit1-VisitorAuthor
1-Visitor
October 18, 2011

Not something fancy ... just XP!

May I ask you to help me to resize the listbox, please?

Thx Richard for your valuable support

Best regards,

-JM