Friend WithEvents ge As FarPoint.Win.Spread.CellType.GeneralEditor
Private Sub FpSpread1EditModeOn(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.EditModeOn
ge = CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor)
Dim eh As System.EventHandler = AddressOf geSubEditorClosed
AddHandler ge.SubEditorClosed, eh
ge.BorderStyle = BorderStyle.Fixed3D
ge.SubEditor = New tEditor
ge.ShowSubEditor(True)
End Sub
Private Sub geSubEditorClosed(ByVal sender As Object, ByVal e As System.EventArgs)
MessageBox.Show("The editor has closed.")
End Sub