Button menu

Started by Fred Tomke, June 02, 2009, 03:51:17 AM

Previous topic - Next topic

Fred Tomke

Hello,

does anybody already tried to create a button menu with opendcl. I do know that there was an example a long time ago, but I cannot find it anymore.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

AutoKAD

#1
Quote from: Fred Tomke on June 02, 2009, 03:51:17 AM
Hello,

does anybody already tried to create a button menu with opendcl. I do know that there was an example a long time ago, but I cannot find it anymore.

Fred

Why not place a combo box control next to a text button control; shorten the combo box control till only the down arrow shows and use:

(dcl_ComboBox_SetDroppedWidth <Control> Width [as Long])

on event:

(defun c:<CONTROL-NAME>_OnDropDown (/)
)

Kevin

Fred Tomke

Thanks I will try so.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]