Help regarding show & release in Modal Windows

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Help regarding show & release in Modal Windows

Post 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
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
gfilatov
Posts: 1090
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Help regarding show & release in Modal Windows

Post 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:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
Post Reply