[Gambas-user] Cancel Close event of Form

Chris Wilson blixtra at ...626...
Mon Jan 10 01:52:11 CET 2005


I think you should be able to do something like this...

PUBLIC SUB MyForm_Close()

  IF expressionHere THEN
    STOP EVENT
  END IF

END


Chris

On Sun, 09 Jan 2005 15:34:35 -0800, Eric Damron <edamron at ...776...> wrote:
> Sorry for so many questions but I have a form that holds data that I
> need to check before allowing the user to close the form.  In the form's
> close event is there someway I can tell it to abort the close?
> 
> Thanks
> 
> PS Gambus rocks!
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list