|Kixforms Class Library|
Add Method (TreeNodeCollection Class)
Adds a new tree node to the end of the current tree node collection with the specified label text.
object.Add( text, imageIndex, selectedImageIndex )
text - The label text displayed by the TreeNode.
imageIndex - The index value of image to display when the tree node is unselected.
selectedImageIndex - The index value of Image to display when the tree node is selected.
A TreeNode that represents the tree node being added to the collection.
The text parameter value is assigned to the node's Text property and becomes the tree node label. The imageIndex and selectedImageIndex values are the index values of an image stored in the ImageList assigned to the ImageList property. The image referenced in the imageIndex property is displayed when the tree node is not selected. Likewise, the image referenced in the selectedImageIndex property is displayed when the tree node is in a selected state.
Applies To: TreeNodeCollection
|The CHM file was converted to HTML by chm2web software.|