TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: cadplayer on December 08, 2015, 04:52:17 AM

Title: Form-show giv 2
Post by: cadplayer on December 08, 2015, 04:52:17 AM
Hello!
What is happening, if I type (dcl_Form_Show diroTool_Main 0 0) I get 2 and does not show Dialog, that means the form-show process is canceled. But I didnīt press escape.
The same dialog shows normaly on annother maschine. How can I fix it?! Have I to do something in form-install ?
Title: Re: Form-show giv 2
Post by: Kerry on December 08, 2015, 05:07:04 AM

Without seeing .odcl and .lsp we'll be playing guessing games.
Title: Re: Form-show giv 2
Post by: roy_043 on December 08, 2015, 06:59:55 AM
If the form is modeless the return value does not indicate that Escape has been pressed. Perhaps the dialog is being shown off-screen?
This may help:
http://www.opendcl.com/forum/index.php?topic=1625.msg8041#msg8041
Title: Re: Form-show giv 2
Post by: cadplayer on December 09, 2015, 01:49:08 AM
These are results of maschine there Dialog displayed
Command: (command "_OPENDCL")
nil
Command: (dcl_Project_Load "h:\\Dropbox\\2014\\dcl\\DiroTool.odcl")
"diroTool"
Command: (dcl_Form_Show diroTool_Main)
30

The diffrent to maschine it doenīt work is:
Command: (dcl_Form_Show diroTool_Main)
2

And that is the problem, because it means Dialog is canceled
Title: Re: Form-show giv 2
Post by: roy_043 on December 09, 2015, 03:29:26 AM
Without seeing .odcl and .lsp we'll be playing guessing games.
1+
Title: Re: Form-show giv 2
Post by: Kerry on December 09, 2015, 03:46:32 AM
Also ;
Acad Version           ?
Operating System   ?
OpenDcl build on each machine   ?

Is the OpenDCL on both machines tested, or the Runtime ?

Modeless or Modal ?
How many documents were open ?



"The answer to the ultimate question of life, the universe and everything is 42."