The currently selected tree item.
Eigenschaft von
Beschreibung
The selected property contains an object reference to the currently-selected tree item in the tree view, the one that has focus. If no item is selected, selected contains null.
selected is usually used in TreeView event handlers, which fire for all items in the tree.
selected is read-only. To programmatically select an item, call the item’s select( ) method.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.