[Gambas-devel] Event CloseWindow in WorkSpace

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


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

> > 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?
>
> The Close event is received by the main observer of your window, normally
> the
> object where you created the window.
>
> --
> 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
>

Sure it will, it solve the issue, feel so stupid asking this!!! maybe I'm
working a lot

-- 
Regards
---
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20100408/9f37d54c/attachment.html>


More information about the Devel mailing list