I've used phrase:
Code: Select all
load window OknoZlecenia show window OknoZlecenia // initiate table aZlecenia activate 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..
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) . . .
This error occured after 8 hours of intensive work of my client
- Posts: 5234
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
South or North HMG is worth.
...the possibilities are endless.
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.
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
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.