Combobox Return Multiple Values

Combobox Return Multiple Values - Сообщения

#1 Опубликовано: 10.11.2022 02:27:14
Nick Kotichas

Nick Kotichas

0 сообщений из 3 понравились пользователям.

Группа: User

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!

Capture.PNG
#2 Опубликовано: 10.11.2022 02:45:12
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

Use a nested matrix.

Regards

multicombo.sm (4 КиБ) скачан 42 раз(а).

2022-11-10_08-44.png
1 пользователям понравился этот пост
Davide Carpi 10.11.2022 06:31:00
#3 Опубликовано: 10.11.2022 06:40:50
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

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

2022-11-10 10_39_12-SMath Solver - [Worksheet1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 11.11.2022 03:20:18
Nick Kotichas

Nick Kotichas

0 сообщений из 3 понравились пользователям.

Группа: User

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!
#5 Опубликовано: 11.11.2022 06:40:34
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Like this?

2022-11-11 10_40_09-SMath Solver - [shething.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 11.11.2022 14:01:42
Nick Kotichas

Nick Kotichas

0 сообщений из 3 понравились пользователям.

Группа: User

Yes that is exactly it.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений