Open a Windows from a Dialog

Hello Everybody,

We are using both Dialog and Windows to design screen, and want to open
a Windows from a Dialog button call.

As Dialog cannot open Windows (WAIT-FOR issue), was wondering is it
would be possible to change Windows behaviour by code.
Meaning, using a parameter + inside code to handle : "Windows mode" /
"Dialog mode".

Please note for various excuses, we cannot afford to fully redesign one
screen from Windows to Dialog nor Dialog to Windows.

My guess was :
- inside 4GL code ? (but maybe AppBuilder won't appreciate)
- using .dll code ?

Config :
- OE 10.1b sp2
- Windows 2K / 2003 server

Hope someone can have a clue.

Cheers,

Grunnpi


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jurjen's picture

Re: Open a Window form a Dialog

No, it is not possible to open a window from a dialog. I have actually hacked it a long time ago, but it produces a lot of problems.

For which reason do you want to launch a window? Do you want it because a dialog is too modal, or because a dialog cannot be resized? With some luck (and some low-level hacks) you can launch a dialog and make it resizble, so it looks like a window. But you cannot get rid of its modal behaviour without getting serious conflicts with its parent dialog.


grunnpi's picture

Thanks for your response. In

Thanks for your response.

In fact, it's a maintance issue. Legacy Dialog has to open other screen.
Most of our application work as Dialog, no problem.

But our more recent screen to be windows, and one of them is now to be open.
And it's big deal to "redesign" it to Dialog...

Was hoping some ".dll" tricks to force modal/not behaviour.

Anyway, thanks again for ansswering !


grunnpi's picture

Was posting same question on

Was posting same question on ProgressTalk, and one answer me this :
http://www.progresstalk.com/showthread.php?119121-open-a-Windows-from-a-...

seem to fit, isn't it ?

May you be interested by this possible solution.

Cheers
Grunnpi