Jump to content

Modeless Userform


streng

Recommended Posts

Hi

 

I have created a modeless userform that stays above all windows.

 

Unfortunately when the userform is selected or used it reopens the window its associated to. (ie AutoCAD)

 

In there a way to disassociate this from AutoCAD, or associate this to Excel.

 

I know API is involved but I have no knowledge of this.

 

Have attached file in case this is vague.

 

Hope someone can help.

Userform on Top.zip

Link to comment
Share on other sites

Thats just part of the deal, unfortunately. VBA is running -inside- of acad. It is basically a child of autocad. if you minimize autocad, your form goes with it. if you activate/ restore Autocad, your form returns.

 

If you want both, you'll want your routine to run outside of autocad, to boot - probably a compiled VB app.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...