Hi there,
Is there a way for visual lisp to know the name of the toolbar
whose button you've just selected. I've been looking at "reactors"
but I dont think it has one for the toolbar selection.
I've created a toolbar called Pop-Up. I plan to "show" or Pop-up the toolbar
with this expression..
(command "-toolbar" "POP-UP" "f" (strcat x "," y) noofrows)
x and y......will be coordinates of cursor (results from a sub-routine)
noofrows.....will be number of rows
Now I will dropping & dragging different buttons from different toolbars, the ones
I use the most . But I have to add this to each button I add..(command "-toolbar" "POP-UP" "h")
Is there a way wherein I dont have to add this to each button I add. I would
like the program to close a toolbar named "POP-UP" every time one of its buttons
is selected.
Any help would be appreciated.