Selector Tool
Posted: Wed Aug 03, 2011 5:39 pm
Hi,
i am adding an selector tool and an Handler
the handler has do conntect the PropGrid (in Form 1) with the Selection (Form 1) but i dont receive an result - an filled PropertyGrid ???
When i call the handler from the Click Event i get the MsgBox only, when i wait for the handler only i get nothing ...?
I am using the latest tChart relase.
Thanks
i am adding an selector tool
Code: Select all
Friend Selector1 As Steema.TeeChart.Tools.Selector
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
1: InitializeComponent()
InitializeChart()
Selector1 = New Steema.TeeChart.Tools.Selector(TChart1.Chart)
AddHandler Selector1.Selected, AddressOf Me.Selector1_Selected
Selector1.Active = True
Selector1.Cursor = Cursors.Cross
Code: Select all
Private Sub Selector1_Selected(ByVal sender As Object, ByVal e As System.EventArgs)
Try
MsgBox(Selector1.Selection.ToString)
Dim frmProps As PropertyPane =.......
frmProps.PropGrid1.SelectedObject = Selector1.Selection
frmProps.PropGrid1.Show()
Catch ex As Exception
End Try
When i call the handler from the Click Event i get the MsgBox only, when i wait for the handler only i get nothing ...?
I am using the latest tChart relase.
Thanks