Re: big red X
- Posted by guest at rapideuphoria.com Apr 05, 2004
- 407 views
posted by: (not specified) setHandler(childWindow,w32HClose,{}) >From the win32lib docs: [const] w32HClose A Window is closed. Category: Events parms = {} This typically occurs via closeWindow, although the user can select the close control on the window as well. Closing a window does not actually destroy it (unless it is the main window; the window is merely hidden. Refer to closeWindow for more details. If the onClose routine calls returnValue() with a non-zero parameter, win32lib aborts the Close operation, as if it hadn't been invoked. In this way it is possible to do a conditional close. This event is only triggered for a Window.