flyouts

Jamie Duncan

Usenet Archive
Joined
Jun 27, 2003
Messages
177
Reaction score
0
I want to make a custom flyout, I've looked at the menu and and help files, and I'm not sure how to write a lisp to handle this...

Any ideas would be appreciated

Jamie Duncan

Consulting - If you're not part of the solution, there's good money in prolonging the problem.
 
No lisp required, it's all in the menu macros.

First create a normal toolbar containing the buttons you want in the flyout -- nothing special about this. Then make another toolbar containing a flyout, which references that toolbar. (As a side effect of the way this is done, the user will have the option of using the flyout as a flyout, or displaying it separately as a normal toolbar.)

Look in the acad.mns for examples. For instance, in 2004 look at the
**TB_INSERT toolbar, and then look at the way it's referenced as a flyout in
**TB_DRAW.
 
oh, I feel dumb, I meant those drop down list thingies...not sure what to call 'em...
 
Like the layer or linetype dropdown? No can do with LISP. ARX is the language of choice for that one.
 
If you are talking about the 'Main Menu Bar' pull-downs, they are coded in the .mns as **POP1 or **POP2..ect. Make a new **POPx where x = last POPn + 1. This will show up on the extreme right on the menu bar. Do a Menuunload / Menuload to recompile.

Bob
 
No. you can't do those with lisp, but depending on your application, you might find that a well-organized pulldown menu can serve as well.
 

Latest threads

Back
Top