On my experience...
Program_1 makes her window sticky = Ok
Program_2 makes her window sticky = Ok
Now, if you need to make the program_1 sticky again, the command WindowSticky(#win,1) does nothing, in order to put the program_1 top most again, you *must* do StickyWindow(#win,0) then StickyWindow(#win,1), this way the program_1 window becomes the top most again.
StickyWindow() only seems to work once
Re: StickyWindow() only seems to work once
Modal Fixed :
I've given up on the StickyWindow()
In the opening screen, just prior to calling the 2nd window I set the opening screen - #WinNº1, to DisableWindow(#WinNº1, #True)
Just prior to when the 2nd opens the 3rd I set DiasableWindow(#WinNº2, #True)
Prior to when I close the 3rd I then set DisableWindow(#winNº2,#false) then close #WinNº3
Then repeat the same on the 2nd to return to the opening screen
I haven't bothered with the HideWindow() as I don't usually hide windows in other languages, so didn't see the point.
Many thanks PB_All for your views and assistance
I've given up on the StickyWindow()
In the opening screen, just prior to calling the 2nd window I set the opening screen - #WinNº1, to DisableWindow(#WinNº1, #True)
Just prior to when the 2nd opens the 3rd I set DiasableWindow(#WinNº2, #True)
Prior to when I close the 3rd I then set DisableWindow(#winNº2,#false) then close #WinNº3
Then repeat the same on the 2nd to return to the opening screen
I haven't bothered with the HideWindow() as I don't usually hide windows in other languages, so didn't see the point.
Many thanks PB_All for your views and assistance
If it's falling over......just remember the computer is never wrong!