Jump to content

Recommended Posts

Posted

Hi All,

 

Please help.

 

Even after (Done_Dialog 1) my Dialog box still remains on screen till the routine complete its process. I tried (Redraw) after (Done_Dialog 1) but without Luck.

 

Is there any solution for this?

 

Regards

Posted

Without seeing the full code is difficult to guess. But, where do you have the START_DIALOG function call?

Posted

What's with the "1" after the Done_Dialog.

 

If you are assuming that is the dialog number that would be wrong. Just try (Done_Dialog) without the "1".

Posted

Although optional, DONE_DIALOG function's argument will be used as return value by START_DIALOG function and also stored in DIASTAT system variable. It is there to be used later in code to test how user closed the dialog.

 

However, the DONE_DIALOG function had no effect until START_DIALOG is called; for this reason I asked where the second is called in OP's code; I suspect that is placed as one of lasts statements.

Posted

Sorry for being late Members.

Thanks for your replies.

 

But I think I was not clear enough, Well My routine works normally it does not have any effect regarding DONE_DIALOG function. Its in the correct position.

 

The main problem is the echo of the Dialog Box remains on screen not the Dialog Box itself.

Posted

Is this what you have at the end of your routine ? otherwise post your codes to check them out if they are not that many of lines or just the related codes to dialog .

 

            (start_dialog)
            (unload_dialog id)

Posted
The main problem is the echo of the Dialog Box remains on screen not the Dialog Box itself.

What do you mean by "echo"? Can you post a screen-shot? It may be something related to your video-card, not solvable from AutoLISP.

Posted

I am extremely sorry guys to get late again as I was out for a project.

 

Mr.Mircea Please see the attachment.

 

 

DB.jpg

 

Hope to get the solution soon.

 

Regards

Posted

I'm afraid still don't have a clear picture on what happend; what remain on screen is the entire dialog or just a part of it?

Did you checked where the START_DIALOG is called in your code?

  • 2 weeks later...

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