MODAL FORMS

MODAL FORMS

Anonymous
Not applicable
542 Views
9 Replies
Message 1 of 10

MODAL FORMS

Anonymous
Not applicable
hi,

I would really like to have a form in which in can fill in fields and do stuff, while still be able to do stuff in the acad window (without having to hide the form). When I set the 'Showmodal' of my form to false, then i can indeed move around in Autocad, but i cannot fill in fields anymore in the form. The buttons still work fine. Is there a way to get around this??? Changing the 'Showmodal' during running doesn't work either.

I would really appreciate any help on this.

Thanks in advance!

Emmanuel
0 Likes
543 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
Use VB or a .NET interface...
0 Likes
Message 3 of 10

Anonymous
Not applicable
what is .NET interface?

and what is the difference between VB and VBA? Would I have to change a lot in my VBA program to adjust it to VB?
0 Likes
Message 4 of 10

Anonymous
Not applicable
Check this out:
http://msdn.microsoft.com/vbasic/

VB and .NET are programming languages. There are some subtle differances between VBA and VB when doing coding for AutoCAD but basically the same.
.NET is the next generation of Visual Studio and can be quite a powerful OOP tool
0 Likes
Message 5 of 10

Anonymous
Not applicable
thanks for the info.

isn't there a 'short-cut-way' to do this quicker. I am not familiar with VB and think I will not have the time to change my entire program into VB.
0 Likes
Message 6 of 10

Anonymous
Not applicable
elefebvre wrote: > ... cannot fill in fields anymore in the form. Do a search on AcFocus, that should do it. Terry
0 Likes
Message 7 of 10

Anonymous
Not applicable
Emmanuel, the problem with non modal forms in AutoCAD VBA is very annoying. I know there is a solution to this, but don't remember exactly what it is. Search google adding "keep focus" as a keyword. Is has to do with the fact that the dialog does not keep focus when clicked. Gilles Plante "elefebvre" wrote in message news:5522647.1086712030361.JavaMail.jive@jiveforum2.autodesk.com... > thanks for the info. > > isn't there a 'short-cut-way' to do this quicker. I am not familiar with VB and think I will not have the time to change my entire program into VB.
0 Likes
Message 8 of 10

Anonymous
Not applicable
a search on the internet, or VBA? I tried in VBA but nothing shows up.

Setfocus is an option for many controls but not for the form itself. acFocus seems to be some constant, but for which variable orr methode?
0 Likes
Message 9 of 10

Anonymous
Not applicable
Emmanuel, look for the acFocus control in Autocad directories (acfocus*.dll). Then search google for information about it. Gilles Plante "elefebvre" wrote in message news:17477874.1086849208820.JavaMail.jive@jiveforum2.autodesk.com... > a search on the internet, or VBA? I tried in VBA but nothing shows up. > > Setfocus is an option for many controls but not for the form itself. acFocus seems to be some constant, but for which variable orr methode?
0 Likes
Message 10 of 10

Anonymous
Not applicable
i found the acfocus control but it won't do anything. it doesn't even appear when i run the form. i did a search on ggogle but didn't find anything. is there anywhere some more information on that?

thanks,

Emmanuel
0 Likes