Page 1 of 1

Help regarding show & release in Modal Windows

Posted: Tue Jun 16, 2009 9:33 am
by Rathinagiri
Hi,

Here is a sample enclosed. Kindly run the sample after changing the variable 'show1' in line no. 40 to .t. And the program ends with a "Non Top modal windows can not be released".

It is about the show command of the window.

Where is my problem and how to solve this. Kindly help me.

Regards and thanks in advance,

S. Rathinagiri.
sample.zip
(756 Bytes) Downloaded 231 times

Re: Help regarding show & release in Modal Windows

Posted: Tue Jun 16, 2009 10:14 am
by gfilatov
rathinagiri wrote:Hi,

Here is a sample enclosed. Kindly run the sample after changing the variable 'show1' in line no. 40 to .t. And the program ends with a "Non Top modal windows can not be released".

It is about the show command of the window.

Where is my problem and how to solve this. Kindly help me.
Hello Rathinagiri,

I confirm this problem after closing a window Y with the following error:
------------------------------------
Date:06/16/09 Time: 13:09:34
Error: Harbour MiniGUI 2.9.2 (2009.06.08)
Non top modal windows can't be released. Program terminated
Called from _RELEASEWINDOW(2948)
Called from DOMETHOD(7233)
Called from (b)CREATEMODAL(32)
Called from _DOCONTROLEVENTPROCEDURE(4735)
Called from EVENTS(1360)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4399)
Called from DOMETHOD(7224)
Called from CREATEMODAL(36)
Called from (b)MAIN(10)
Called from _DOCONTROLEVENTPROCEDURE(4735)
Called from EVENTS(1360)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4377)
Called from DOMETHOD(7224)
Called from MAIN(16)

------------------------------------
BTW Your sample works fine in the HMG Extended Edition :arrow: