Conditionally created control

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

#1 Pubblicato: 08/05/2019 19:48:13
João Felipe Seráfico Melo

João Felipe Seráfico Melo

7 apprezzamenti in 62 post.

Gruppo: 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 Pubblicato: 09/05/2019 00:01:00
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 09/05/2019 00:05:48
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 09/05/2019 08:52:35
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 09/05/2019 14:43:25
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

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


... add odd/even/shaped polygons.

Polygon.PNG
  • Nuovi post
  • Nessun nuovo post