2010/4/26 Benoît Minisini <gam...@users.sourceforge.net>

> > You will have to help out a bit more :)
> >
> > Here is the header of the class Added to the Workspace:
> >
> > ' Gambas class file
> >
> > Inherits Window
> >
> > Private $hPHPEditor As Editor
> >
> > Public Sub _new()
> >
> >   Me.Arrangement = Arrange.Fill
> >   Me.Expand = True
> >
> >   $hPHPEditor = New Editor(Me) As "PHPEditor"
> >   $hPHPEditor.Expand = True
> >   $hPHPEditor.Highlight = Highlight.Custom
> >
> > End Sub
> >
> > How do I implement the Close event in this case?
>
> As any other object. When you instanciate the Window class, the object
> where
> you instanciate it becomes its event observer, provided that you specified
> an
> event handler prefix with the AS keyword.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


Now I got it, thanks

-- 
Regards
---
David
------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to