ItemPopulate

Description

Occurs when a TreeView item is being populated with children.

Event ID

Event ID

Objects

pbm_tvnitempopulate

TreeView

Arguments

Argument

Description

handle

Long by reference (the handle of the TreeView item being populated)

Returns

Long. Return code choices (specified in a RETURN statement):

Examples

Example 1

This example displays the name of the TreeView item you are populating in a SingleLineEdit:

TreeViewItem tvi


This.GetItem(handle, tvi)

sle_get.Text = "Populating TreeView item " &

   + String(tvi.Label) + " with children"

See also