Toolbar state buttons

Discussion in 'AutoCAD' started by Rakesh Rao, Oct 1, 2004.

  1. Rakesh Rao

    Rakesh Rao Guest

    Rakesh Rao, Oct 1, 2004
    #1
  2. Bonjour,hello,

    In a button put :

    ^c^c$M=$(if,$(=,$(getvar,mirrtext),1),mirrtext 0,mirrtext 1)

    that make flip flop variable mirrtext !

    Daniel
     
    OLIVES Daniel, Oct 1, 2004
    #2
  3. Rakesh Rao

    Rakesh Rao Guest

    Bonjour Daniel,

    Thank you for your reply but I think you misunderstood the question. I
    want the button to visually show an on/off state. Something that would
    visually change its appearanace when picked.

    - Rakesh




    --
    --
    - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ]
    - Four Dimension Technologies
    [www.4d-technologies.com]
    - Get GeoTools, Work smarter: www.4d-technologies.com/geotools
    - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
     
    Rakesh Rao, Oct 1, 2004
    #3
  4. Rakesh Rao

    Rick Keller Guest

    I am not sure but I dont think so.

    How about a flyout with the 2 buttons on it?
    The flyout will show the last picked button.
    But only for that drawing if you switch to another it will show the same.

    Maybe you can swap toolbars out when you click on the button.
    Have 2-one button toolbars docked in the same position and each one
    turns itself off and the other on?

    I know you can do it with a pulldown.

    Thats all I got.

    Rick



     
    Rick Keller, Oct 1, 2004
    #4
  5. Rakesh Rao

    j.buzbee Guest

    Yes. Look at the "SetBitmaps" method for the "ToolbarItem" object in the
    AutoLISP/ VBA help documentation.

    jb
     
    j.buzbee, Oct 1, 2004
    #5
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.