Conditionally created control

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

#1 已发布: 2019/5/8 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 已发布: 2019/5/9 00:01:00
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2019/5/9 00:05:48
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2019/5/9 08:52:35
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2019/5/9 14:43:25
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

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


... add odd/even/shaped polygons.

Polygon.PNG
  • 有新帖
  • 无新帖