OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on June 02, 2009, 03:51:17 AM

Title: Button menu
Post by: 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
Title: Re: Button menu
Post by: AutoKAD on June 11, 2009, 03:27:24 PM
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
Title: Re: Button menu
Post by: Fred Tomke on June 11, 2009, 04:48:00 PM
Thanks I will try so.

Fred