drop-down menu

Started by domenicomaria · 2019-04-14 16:40 UTC · 4 replies · SMF topic #2671

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 ?
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
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

You can use the button to achieve this function.
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
Attachments