Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms and Drawing

Status
Not open for further replies.

tonioJ

Programmer
Oct 7, 2002
90
PH
I am working on a program in AutoCAD 2004 using VBA. I want to make make a the drawing and the form active. It seems that when I run the macro, with the form loaded, the form becomes Modal. Is there a way to make it non modal? so that my form and drawing interacts. The form will stay on top of the drawing to serve as the menu to carry out the commands in VBA.
 
tonioj,

VBA forms are always modal, but if you hide them, activate the current drawing, and then show the form again after your user has performed selections, pick points etc, you can do some of what you want. But as for a VBA form residing full time as a menu, you might be happier attaching your routines to an AutoCAD or custom menu file.

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top