Visual Basic Customization

Visual Basic Customization

Active Contributor
Posts: 40
Registered: ‎10-26-2011
Message 1 of 2 (169 Views)
Accepted Solution

Why can't I zoom or pan when an form is active?

169 Views, 1 Replies
12-20-2012 10:35 AM

When an macro of a Lisp is active I can zoom and pan in a drawing. I press Escape to quit.


Why can't I do that when a form is active in vba?


Is that only because Showmodal is on?


gr. Laszlo

*Expert Elite*
Posts: 8,982
Registered: ‎06-29-2007
Message 2 of 2 (161 Views)

Re: Why can't I zoom or pan when an form is active?

12-20-2012 01:15 PM in reply to: lanieuwe



>> Is that only because Showmodal is on?

Exactly that is the point.


If AutoCAD has a child-form with option "modal" opened, AutoCAD give this form the complete exclusive focus for mouse and keyboard. As long as this form is open you have no chance to control the editor-window by mouse or by keyboard (as long as you don't catch mouse-events and forward it to the editor-window ... would be a havy job to do :smileywink: ).


- alfred -

Ingenieur Studio HOLLAUS ...
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.