[Gambas-devel] Event CloseWindow in WorkSpace

David Villalobos Cambronero david.villalobos.c at ...176...
Thu Apr 8 18:38:09 CEST 2010


2010/4/8 Benoît Minisini <gambas at ...1...>

> > Hi, it will be difficult to add a CloseWindow event to the WorkSpace? I
> > need to know when the current window is closed, so I can validate some
> > thing?
> >
> > Or there is already a way yo do it?
>
> Maybe. But why don't you use the Form close event ?
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>

It could, but I'm adding a Class that inherits from Window.

Maybe the problem is my programing skills :)

In this example:

---------------------------------------------------
' Gambas class file

Inherits Window

Public Sub _new()

  Me.Arrangement = Arrange.Fill

End
---------------------------------------------------

How do I implment the Close() event?
-- 
Gracias
---
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20100408/6016c2c5/attachment.html>


More information about the Devel mailing list