Re: big red X

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu