Hi,
I have an ABL window embedded in a .NET form. The form is called by a purely ABL window. When the calling window is minimised the embedded ABL/.NET form minimises too.
Is there any way to prevent the embedded window from doing this?
Thanks.
Mark.
P.S. If any more information is required please ask and I'll be happy to supply it.
Sounds like the Embedded ABL Window is still parented to your ABL based main window.
Don't do that.
Do you know how I can unparent it?
Thanks.
Somewhere, maybe in your standard include files, you must be setting the PARENT attribute of the second window.
From the ABL docs:
"For ABL windows, the parent widget is another window that parents this window. The main feature of these window families is that when the parent window is minimized, all of its child windows are hidden"
I figured out what it was. There was a line in my .NET form:
THIS-OBJECT:ProWinHandle:PARENT = LV_MAIN_STUB_HANDLE:CURRENT-WINDOW
I had completely missed it!
Mark.