Thanks Ed.  This is very useful.

-- 
Jaime Mora Ramones
Tantoyuca Veracruz, Mexico

"Ed Leafe" <[EMAIL PROTECTED]> escribió en el
mensaje news:[EMAIL PROTECTED]
> On Jun 1, 2006, at 6:11 PM, Jaime Mora Ramones wrote:
>
> > Sorry Ed, I did not explain well.
> > I want to bind a function to the event when the user closes the form,
> > exclusively by interaction of the user.
>
> Closing the form raises a Close event, so you can auto-bind to it by
> creating a form.onClose(self, evt) method. I believe that if the user
> clicks the Close Box on the form, evt.force will be False; if the
> close() method is called via code, evt.force will be True, and you
> won't be able to stop the form from closing.
>
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
>
>
>
>




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to