Re: XPCE : action when closing a dialog




joel.foutelet@xxxxxxx wrote:
Hello
I'd like to do an action when I close a dialog (saving a file for
example when I click the upper right cross of the window).
How can I manage it ?
I'm sorry, I've just found after I posted :
I have to add this instruction :
send(D, done_message, and(message(@prolog, 'my_on_close'),
message(@receiver,destroy))),

.



Relevant Pages

  • XPCE : action when closing a dialog
    ... I'd like to do an action when I close a dialog (saving a file for ... example when I click the upper right cross of the window). ...
    (comp.lang.prolog)
  • Re: How did USS Dolphin swamp?
    ... you have to be getting shot at by bad guys to be elligible for either the Cross or MoH..... ... the saving of dozens of lives at the imminent risk of his own AND the saving of a gazillion dollars worth of vessel should've gotten him the CMoH. ... The Navy and Marine Corps Medal is nothing to sneer at; it's ninth in precedence among ALL Navy decorations. ... Looking at the various decorations and their criteria, there are only two higher awards that could conceivably have been issued. ...
    (sci.military.naval)
  • Re: New MacBook
    ... The Description by David of a Rectangle with a cross sounds like the ... Or does it mean The ESC Key, upper left hand corner... ... hitting the Key... ...
    (comp.sys.mac.system)
  • Hyphen does not work when entering metadata
    ... that the hyphen key in the upper right corner of the ... numeric keypad does not work when you enter metadata during saving a ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Viewing photos
    ... red x in the upper left hand corner. ... Have you tried saving the image files to your hard drive? ...
    (microsoft.public.windowsxp.photos)