Jump to content

Is it possible to do a zoom command while a dialog is loaded?


hemuni

Recommended Posts

I have a small routine that switches between layouts by selecting them from a list in a dialog: GLAY.LSP

 

It has a toggle and a button that will trigger a zoom all, to be used in case not all of the layout is visible.

 

It works just fine as is, but I have to hide the dialog in order to invoke the zoom command and I would like to skip that if possible.

 

I seem to remember being able to do something like this years ago, but can't remember how.

 

Does anybody have clever way of doing a zoom all without hiding the loaded dialog first, maybe through vlisp?

Link to comment
Share on other sites

Not without using OpenDCL.

 

Standard DCL can only create modal dialogs, for the functionality you are looking for the dialog needs to be modeless.

Link to comment
Share on other sites

Not without using OpenDCL.

 

Standard DCL can only create modal dialogs, for the functionality you are looking for the dialog needs to be modeless.

 

Bummer :cry:

Link to comment
Share on other sites

is this what you want ?

k.

 

Yes I think that's it exactly. Will try it out in the morning.

Thanks kruuger!

 

It's now implemented and working perfectly.

Thanks again kruuger!!

Edited by hemuni
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...