View Full Version : Toolbar controls
Coolmo
2004-11-10, 05:52 PM
Is it possible to create a toolbar control much like the viewport scale factor combo or the Object Properties "layer" combo? If so can someone school me on how to do that or point me in the right direction? Thanks!
Ed Jobe
2004-11-10, 06:18 PM
No, at least not with vba. That's why I came up with a dialog for setting viewport scale, which is on the Exchange. Because the control has limited scale factors.
Coolmo
2004-11-10, 06:24 PM
So I guess at best we could write a small horizontal VBA program that floats on top of the rest of AutoCAD "userform1.show (0)" that mimics a toolbar and does what we want right? What are the toolbar controls written in? I have visual basic available and can write activeX controls. Are these the same things? How would I load them if they are?
Ed Jobe
2004-11-10, 06:54 PM
Those controls are written in C++. I don't worry about floating a window, just run the command when you need it. I have a toolbar button for that. If you still think its necessary, you could use the docable window control, but why take up valuable screen space?
Coolmo
2004-11-10, 07:28 PM
how does the dockable window control work? Is it available in 2002 LDD version?
Ed Jobe
2004-11-10, 07:48 PM
Mike Tuersley wrote an article in Cadalyst on how to use it, demonstrating with a calculator app.
Powered by vBulletin® Version 4.1.11 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.