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? -- Regards --- David ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user