Conditionally created control

Conditionally created control - Is it possible to set the creation of a slider to be conditioned to some result? - Сообщения

#1 Опубликовано: 08.05.2019 19:48:13
João Felipe Seráfico Melo

João Felipe Seráfico Melo

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

Группа: User

Hi, everyone!

I'll clarify my question with an example.

Let's say I create a radio button list to set the geometry of a cross-section to be Rectangular or Circular.

If I choose Circular, I only have to inform (via slider) it's diameter.

If I choose Rectangular, I have to inform a width and a depth.

In the latter, is it possible to set the creation of the second slider dependent on my radio button input?

Thanks in advance!
#2 Опубликовано: 09.05.2019 00:01:00
Jean Giraud

Jean Giraud

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

Группа: User

Slider is not much convenient compared to MCD 11.
SS slider had no use for me, not profitable in real projects.

CircleSquare.PNG
#3 Опубликовано: 09.05.2019 00:05:48
Jean Giraud

Jean Giraud

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

Группа: User

... as you can see: up/dn counter and slider don't save settings.
They freak themselves like dog chasing tail. IMHO: useless except for demo.
#4 Опубликовано: 09.05.2019 08:52:35
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

... as you can see: up/dn counter and slider don't save settings.



They have, both from canvas and from dialog. So yes, it is possible to elaboratesome degree of automation based on the inputs. If the roads are too different probably would be better to use collapsed areas with backed layouts however.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 09.05.2019 14:43:25
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

If I choose Rectangular, I have to inform a width and a depth.


... add odd/even/shaped polygons.

Polygon.PNG
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений