Conditionally created control

Conditionally created control - Is it possible to set the creation of a slider to be conditioned to some result? - Mensajes

#1 Publicado: 8/5/2019 19:48:13
João Felipe Seráfico Melo

João Felipe Seráfico Melo

7 me gusta en 62 mensajes.

Grupo: 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 Publicado: 9/5/2019 0:01:00
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 9/5/2019 0:05:48
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 9/5/2019 8:52:35
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 9/5/2019 14:43:25
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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


... add odd/even/shaped polygons.

Polygon.PNG
  • Nuevos mensajes
  • Sin mensajes nuevos