Focal Point
Maintain Menu Item event self.winExit();

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7731081652

November 07, 2007, 12:13 PM
Lusheng
Maintain Menu Item event self.winExit();
I had Maintain (close project button) generated event

Case OnMenuBar1_ClickExit
self.winExit();
EndCase

in menu item Exit. This supposed to exit the application and return to the calling asp page, but I got WEBFOCUS WAS CALLED WITH AN INVLAID REQUEST. I checked our other Maintain applications, that event does return to the calling asp page. I am not sure what is missing for this application.

Windows Server 2003/Webfocus 7.63

Thanks.
November 07, 2007, 01:38 PM
Dave Ayers
> exit the application and return to the calling asp page

Have you looked for differences in the way this Maintain program is called ?


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
November 07, 2007, 04:27 PM
Lusheng
The maintain applications are called in the same way, and I did not see the differences in the coding. Thanks.
November 07, 2007, 10:25 PM
Bik
You should really be using "self.winclose()" on a child form and "self.winexit()" on parent forms so that the form will be closed and not the session.

Hope this helps


WebFOCUS 7.6.1 Win 2003
November 08, 2007, 09:48 AM
Lusheng
It's working now. I missed a statement document.referer in the maintain code. Thanks for all your response.