Started by domenicomaria ·
2019-04-14 16:40 UTC ·
4 replies · SMF topic #2671
domenicomaria
2019-04-14 16:40 UTC
is it too much complicated
to add
to the collection of available controls
in OpenDCL Studio,
a drop-down menu ?
I use combo box.
That is good.
But not enough.
A drop-down menu
could let
to add sub-menus
and
deactivate some items
. . .
and so on.
is it too much complicated ?
fred_tomke
2019-04-14 22:06 UTC
Hi, I'm not sure whether I understood right. As far as I know all the controls are available in any kind of dialog (modal, modeless, palette, ...)
Why should it be neccessary to deactivate them in Studio?
Regards, Fred
domenicomaria
2019-04-15 05:08 UTC
i want mean that
a true
drop-down menu
could let us
to add sub-menus
and
deactivate some items
-> contained in the menu <-
... the normal drop-down menu behaviour ...
with combobox
these things are not possible
navsun
2021-08-07 01:50 UTC
You can use the button to achieve this function.
fred_tomke
2021-08-09 12:56 UTC
Hi, I had a try with a custom menu because the well-known Windows menu class isn't implemented in OpenDCL. My sample is based on a AutoCAD menu to be loaded when clicking a button.
You need a cuix with a named menu ("POP1").
Then call it by Lisp:
(menucmd "P0=MYMENUGROUP.POP1")
(menucmd "P0=*")
Hope that gives ideas...
Regards, Fred