[Gambas-user] Catch close event?

Stefano Palmeri rospolosco at ...152...
Fri Oct 12 12:27:46 CEST 2007


Alle 11:11, venerdì 12 ottobre 2007, smiefert at ...784... ha scritto:
> PUBLIC SUB Form_Close()
>
> message.Warning("Wnat to close this App?", "Yes", "Cancel")  
>
> END

I'm sure it could be done much better...


PUBLIC SUB Form_Close()

   SELECT message.Warning("Wnat to close this App?", "Yes", "Cancel")  
     
     CASE 1
          PRINT "I'm closed!"
   
   END SELECT   

END


Stefano




More information about the User mailing list