Error when many windows are open...

Cabral

New Member
Hy Talkers,

I Have a big Problem.
When de user open many windows of progress application(DatasulEMS) like a 10 windows de progrees show this error messages.

"visible is not a settable attribute for popup.menu-cod-refer. (4052)"

"Load-mouse-pointer is not a queryable attribute for literal widget. (4052)"

"Attempt to dereference a stale widget handle. (3137)"

"Invalid widget-handle. Not initialized or points to a deleted widget. (3135)"

Tanks in Advance,
Cabral.
 

Raymond Gelmers

New Member
answer

Hello CABAL,

Looking at your error-messages it seems to me that you have a lot of windows open without any error handling programmed (except for the default eventhandling of the window-windgets). When you open two windows in the order 1 2 and you close them in the order 1 2 you can get an error.
Part of these problems can be solved by using DIALOG-WINDOWS
(DEFINE {&WINDOW} AS DIALOG.) That way you HAVE to close the windows you just opened before being able to move on to the next window. If this is not an option you will have to write your own event-handling. A HINT:
With the IF VALID HANDLE phrase you can ask PROGRESS whether a windows is open or not.
You can always ask for more specific questions once you're on your way wrinting the code.

Succes!


[Edited by progresstalk on 13 Nov 2000 at 09:21 AM]
 
Top