property ChartView.ExploreFromNode as Variant
Explores the organigram from the node.

TypeDescription
Variant A long expression that indicates the index's of the node being explored, a string expression that indicates the key of the node, or a Node object that indicates the reference to the node being explored.

Use the ExploreFromNode property to define the root node being displayed. By default, the ExploreFromHere property points to the Root node of the organigram. Use the Key property to specify the key of the node. Use the Caption property to specify the caption of the node. Use the ExpandOnDblClick property to disable expanding a node when the user double clicks the node. Use the SelectNode property to specify the selected node.

The following VB sample explores the node being double clicked:

Private Sub ChartView1_DblClick(Shift As Integer, x As Single, Y As Single)
    With ChartView1
        Dim n As EXORGCHARTLibCtl.Node
        Set n = .NodeFromPoint(x / Screen.TwipsPerPixelX, Y / Screen.TwipsPerPixelY)
        If Not (n Is Nothing) Then
            .ExploreFromNode = n
        End If
    End With
End Sub

The following C++ sample explores the node being double clicked:

#include "node.h"
void OnDblClickChartview1(short Shift, long X, long Y) 
{
	CNode node = m_chartview.GetNodeFromPoint( X, Y );
	if ( node.m_lpDispatch != NULL )
		m_chartview.SetExploreFromNode( COleVariant( node.GetKey() ) );
}

The following VB.NET sample explores the node being double clicked:

Private Sub AxChartView1_DblClick(ByVal sender As Object, ByVal e As AxEXORGCHARTLib._IChartViewEvents_DblClickEvent) Handles AxChartView1.DblClick
    With AxChartView1
        Dim n As EXORGCHARTLib.Node = .get_NodeFromPoint(e.x, e.y)
        If Not (n Is Nothing) Then
            .ExploreFromNode = n
        End If
    End With
End Sub

The following C# sample explores the node being double clicked:

private void axChartView1_DblClick(object sender, AxEXORGCHARTLib._IChartViewEvents_DblClickEvent e)
{
	EXORGCHARTLib.Node node = axChartView1.get_NodeFromPoint(e.x, e.y);
	if (node != null)
		axChartView1.ExploreFromNode = node;
}

The following VFP sample explores the node being double clicked:

*** ActiveX Control Event ***
LPARAMETERS button, shift, x, y

With thisform.ChartView1
    local n
    n = .NodeFromPoint(x , y )
    If !isnull(n) then 
    	.ExploreFromNode = n
    EndIf
EndWith