SMath Studio Forum
»
SMath Studio
»
Questions
»
Combobox Return Multiple Values
Rank: Newbie
Groups: Registered
Joined: 10/11/2022(UTC) Posts: 3 Location: Idaho
|
Hello all, I'm a new member of SMath. Im wondering if it is possible to use combobox to return multiple values from a matrix. Ive attached an image below as an example. If I select 7/16"_8d_6" O.C. I want to have both the 1500 and 15 value return without having to make multiple comboboxes. Thanks!
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,191 Was thanked: 544 time(s) in 366 post(s)
|
Use a nested matrix. Regards multicombo.sm (5kb) downloaded 22 time(s).
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,725 Location: Italy Was thanked: 1393 time(s) in 909 post(s)
|
You can also use ranged indices to pick any column you need listed in the order you prefer, without any change in the input matrix. This is an example using either the item row or the item index Edited by user 10 November 2022 13:34:00(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/11/2022(UTC) Posts: 3 Location: Idaho
|
Thank you guys! This is exactly what I was looking for.
One more question if you don't mind. Is is possible to set the results to a different variable? For example. I want the 1500 value to be "vn" and the 15 value to be "Ga". This way the equations will make more sense if someone is reviewing them.
Thanks!
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,725 Location: Italy Was thanked: 1393 time(s) in 909 post(s)
|
Like this? |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/11/2022(UTC) Posts: 3 Location: Idaho
|
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Combobox Return Multiple Values
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.