TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Robert_s on November 29, 2007, 11:02:11 AM

Title: Toolbar question
Post by: Robert_s on November 29, 2007, 11:02:11 AM
Hello,

I created a toolbar called "My Toolbar". I would drop or drag other custom toolbar
buttons into or out of it. I assigned a mouse button that will show/pop-up the toolbar
(My Toolbar).

In each of my custom toolbar button I have a code that will close/hide "My Toolbar" then
execute a lisp or macro..(command "-toolbar" "My Toolbar" "h")...etc.

Problem & QUestion:
The problem is when I want to drag/add an autocad toolbar button onto it.

Is there a way, maybe be like a "reactor" or thru autolisp/vlisp that will find out when a
toolbar was just selected & if the name of the toolbar is "My Toolbar" it will automatically
hide the toolbar?

Thanks....Any help will be appreciated.