In article <49m318$49c@news.mainelink.net>, <johnyc@mainelink.net> wrote:
|We are receiving the following error if the user presses <INTERRUPT> during a
|CONSTRUCT clause in one program. The form works find if <ACCEPT> is pressed.
|
|> finderr 1141
|-1141 Cannot close window with active INPUT, DISPLAY ARRAY, or MENU
|statement.
|
|The code segment is --
|
|FUNCTION getCriteria()
|
| OPEN WINDOW w_criteria
|...
| CONSTRUCT criteriaHold
|...
| ON KEY (INTERRUPT)
| EXIT CONSTRUCT
| END CONSTRUCT
|
|Note: it fails without the 'ON KEY' clause.
Do you subsequently try to close the window, and *then* get the -1141?
If so, and you are running 4.11, you are probably seeing bug 15976,
fixed in 4.12.
--
Alan Denney aland@informix.com
"He can compress the most words in the smallest ideas than any man I ever met."
-- Abraham Lincoln