flyouts

Discussion in 'AutoCAD' started by Jamie Duncan, Jan 15, 2004.

  1. Jamie Duncan

    Jamie Duncan Guest

    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.
     
    Jamie Duncan, Jan 15, 2004
    #1
  2. Jamie Duncan

    Tom Smith Guest

    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.
     
    Tom Smith, Jan 15, 2004
    #2
  3. Jamie Duncan

    Jamie Duncan Guest

    oh, I feel dumb, I meant those drop down list thingies...not sure what to
    call 'em...



    --


    Jamie Duncan

    Consulting - If you're not part of the solution, there's good money in
    prolonging the problem.
     
    Jamie Duncan, Jan 15, 2004
    #3
  4. Like the layer or linetype dropdown? No can do with LISP.
    ARX is the language of choice for that one.
     
    Jason Piercey, Jan 15, 2004
    #4
  5. Jamie Duncan

    ECCAD Guest

    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
     
    ECCAD, Jan 15, 2004
    #5
  6. Jamie Duncan

    Jamie Duncan Guest

    ahhh, thanks Jason. Knowing nothing of arx, I fear to travel there...

    --


    Jamie Duncan

    Consulting - If you're not part of the solution, there's good money in
    prolonging the problem.
     
    Jamie Duncan, Jan 15, 2004
    #6
  7. me too <g>
     
    Jason Piercey, Jan 15, 2004
    #7
  8. Jamie Duncan

    Tom Smith Guest

    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.
     
    Tom Smith, Jan 15, 2004
    #8
  9. Jamie Duncan

    Jamie Duncan Guest

    hmm, I will have to rethink my strategy in this area. Thanks


    --
    Jamie Duncan

    "How wrong it is for a woman to expect the man to build the world she wants,
    rather than to create it herself."
    - Anais Nin (1903-1977)
     
    Jamie Duncan, Jan 16, 2004
    #9
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.