Page 7 of 21

Re: HMG 3.4.4

Posted: Sun May 21, 2017 12:16 pm
by serge_girard
OK, I see; no problem!

Serge

Re: HMG 3.4.4

Posted: Sun May 21, 2017 12:18 pm
by mol
It looks like interactive close causes destroy of modal windows chain

Re: HMG 3.4.4

Posted: Sun May 21, 2017 12:32 pm
by mol
I FOUND SOURCE OF PROBLEM!!!

I've used phrase:

Code: Select all

load window OknoZlecenia
show window OknoZlecenia

// initiate table aZlecenia

activate window OknoZlecenia
when I eleminate show window OknoZlecenia
everything works OK.

So, SHOW WINDOW causes problems I think.

Maybe Claudio can help? I don't know if we have new leader to work over HMG..

Re: HMG 3.4.4

Posted: Sun May 21, 2017 12:36 pm
by serge_girard
Great !

Claudio is retired...

Serge

Re: HMG 3.4.4

Posted: Wed Jun 21, 2017 5:43 am
by mol
I'm getting strange error:

Code: Select all

BASE/1068  Incorrect argument: Incorrect number of arguments
(b)MAIN(706)
GETFORMHANDLE(3802)
BT_WINHANDLE(61)
BT_STATUSBARHANDLE(404)
BT_STATUSBARHEIGHT(424)
REPOSITIONTOOLBAR(421)
EVENTS(1502)
C_MSGSTOP(0)
SHOWERROR(181)
DEFERROR(129)
(b)ERRORSYS(66)
OBSLBLEDU(1577)
(b)MAIN(706)
GETFORMHANDLE(3802)
BT_WINHANDLE(61)
BT_STATUSBARHANDLE(404)
BT_STATUSBARHEIGHT(424)
REPOSITIONTOOLBAR(421)
EVENTS(1502)
DOMESSAGELOOP(0)
_ACTIVATEWINDOW(5717)
.
.
.
While activating one of forms which has na TOOLBAR (I don't use it anywhere in this application)

This error occured after 8 hours of intensive work of my client :)

Re: HMG 3.4.4

Posted: Wed Jun 21, 2017 9:20 am
by Rathinagiri
Have you checked whether you can reproduce this error?

Re: HMG 3.4.4

Posted: Wed Jun 21, 2017 11:36 am
by mol
No, I can't reproduce this.
It happened after few hours of work. Path of called functions is straight, no recursion. Activated form is first after main form.
I've tried to search problem in HMG sources, but without results.

Re: HMG 3.4.4

Posted: Wed Jun 21, 2017 4:25 pm
by franco
Re: close on the X button. I think I had the same problem before in 3.2.
At first to solve problem I created my own X button for releasing window. Then I found that if a grid had focus it would lock the program.
Now in 3.2 to get around problem when releasing window when in a grid I set focus off the grid first then release window.
Usually I set focus to a label, then release the window.
Hope this was same problem ............ Franco ;)

Re: HMG 3.4.4

Posted: Wed Jun 21, 2017 6:00 pm
by mol
I'll check. Thank you

Re: HMG 3.4.4

Posted: Thu Jun 22, 2017 10:25 am
by mol
I still can't reproduce this error.
I'm closing window with X, reopening, closing with ESC, closing programmatically, all looks OK.
Maybe after few hours garbage collection doesn't work good enough? Few months ago I've added CLEAN MEMORY after closing this function.