Author Topic: Form-show giv 2  (Read 6369 times)

0 Members and 1 Guest are viewing this topic.

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Form-show giv 2
« 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 ?
« Last Edit: December 08, 2015, 05:05:16 AM by cadplayer »

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Form-show giv 2
« Reply #1 on: December 08, 2015, 05:07:04 AM »

Without seeing .odcl and .lsp we'll be playing guessing games.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Form-show giv 2
« Reply #2 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

cadplayer

  • Bull Frog
  • Posts: 390
  • Autocad Civil3d, OpenDCL.Runtime, LISP, .NET (C#)
Re: Form-show giv 2
« Reply #3 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

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Form-show giv 2
« Reply #4 on: December 09, 2015, 03:29:26 AM »
Without seeing .odcl and .lsp we'll be playing guessing games.
1+

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Form-show giv 2
« Reply #5 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."
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.