web development India freelance website designer
Returns a reference to the first child of a Node object in a TreeView control.

Syntax

object.Child

The object placeholder represents anobject expression that evaluates to an object in the
Applies To list.

Remarks

The Child, FirstSibling, LastSibling, Previous, Parent, Next, and Root properties all return a
reference to another Node object. Therefore, you can simultaneously reference and perform
operations on a Node, as follows:

With TreeView1.Nodes(TreeView1.SelectedItem.Index).Child
.Text = "New text"
.Key = "New key"
.SelectedImage = 3
End With

You can also set an object variable to the referenced Node, as follows:

Dim NodChild As Node
' Get a reference to the child of the selected node.
Set NodChild = TreeView1.Nodes(TreeView1.SelectedItem.Index).Child
' Use this reference to perform operations on the child Node.
With nodChild
.Text = "New text" ' Change the text.
.Key = "New key" ' Change key.
.SelectedImage = 3 ' Change SelectedImage.
End With

Child Property

1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593

Freelance ASP PHP web development | Web developer India Web development India| Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design