Teechart Editor CloseEditor Event not recognized
Posted: Tue Aug 30, 2022 7:22 am
Hi,
I have a Teechart (Tchart1) on a form, and I added a "setup" button for the user to open the editor and allow him to change the Chart properties. I have drag-dropped a "Tchart Editor" on my form called 'Editor1'. That is working fine :
Problem : when the user clicks "Close" in the editor after the changes, I want to go in a sub to do things about curves colors it they have changed. But the event CloseEditor is not recognized :
And I can never go in that sub...
Any idea ?
Thanks
Sharkann
I have a Teechart (Tchart1) on a form, and I added a "setup" button for the user to open the editor and allow him to change the Chart properties. I have drag-dropped a "Tchart Editor" on my form called 'Editor1'. That is working fine :
Code: Select all
Private Sub setup_btn_click(sender As Object, e As EventArgs) Handles setup_btn.Click
Editor1.Show(TChart1)
End Sub
Code: Select all
Private Sub exit_setup(sender As Object, e As EventArgs) Handles Editor1.CloseEditor
Stop
End Sub
Any idea ?
Thanks
Sharkann