Visual Basic Customization

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

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

155 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*
Alfred.NESWADBA
Posts: 8,865
Registered: ‎06-29-2007
Message 2 of 2 (147 Views)

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

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

Hi,

 

>> 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 -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
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 to get help installing your software.

Ask the Community