by
Eric Peachey >> Thu, 25 Nov 1999 7:42:06 GMT
Does anyone know how to suppress the message that says that the application has invisible forms remaining?
I suppose you could make sure you've got rid of all your forms before your app quits by calling a method that does something like the one below. Not really answered your question though. You might not be able to unload all the forms if the queryUnload form event prevents it. The original piece of code I cobbled this from checked to see if it unloaded the form successfully and quitted if it didn't.
zapForms() updating;
vars
form : Form;
int : Integer;begin
int := app.formsCount;
while int >= 1 do
form := app.forms(int);
form.unloadForm;
int := int - 1;
endwhile;
end;
Torrie Moore { Mr!

}
So now we know - didn't know if Torrie was a male or female name.
Merry Christmas
Eric in Dunedin