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
Well the standard construct is to put the following line in your main block:
Seems 'too' simple
Very thank you !
I'll try it asap.
Cheers
Please note for various excuses, we cannot afford to fully redesign one
screen from Windows to Dialog nor Dialog to Windows.
I can fully understand those excuses.
Is upgrading to 10.2B an option?
With .NET there is no differece in design between a Window and a Dialog. ABL allows you to embed ABL windows into .NET windows which I've used a couple of times successful to "turn a ABL window into a dialog". I can point you in the that direction, when 10.2B is an option.
10.2b ? Not yet... unfortunatly.
But I've tried running as persistent today.
Didn't trigger error message anymore, but as disabling WAIT-FOR, windows open and close immediatly. Not so usefull.
After some test & try, we figure out that coding like this :
HIDE FRAME myDialogFrame.
RUN myWindow.w.
DISPLAY FRAME myDialogFrame.
It's do the job.
So easy.
Thanks for supporting, see you next time !