Hello All, Is is possible to create a state based toggle in an icon (toolbar) menu? Something that can be 'pressed' or 'released'? Any pointers appreciated. Thanks 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
Bonjour,hello, In a button put : ^c^c$M=$(if,$(=,$(getvar,mirrtext),1),mirrtext 0,mirrtext 1) that make flip flop variable mirrtext ! Daniel
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
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
Yes. Look at the "SetBitmaps" method for the "ToolbarItem" object in the AutoLISP/ VBA help documentation. jb