Click or drag to resize

TreeView.SelectItem Method (Typed)

X#
Cause a tree view to select a tree view item, scroll the item into view, or redraw it as the target of a drag-and-drop operation.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SelectItem(
	symItem,
	symCode,
	lSelect
) AS USUAL CLIPPER
Request Example View Source

Parameters

symItem (Optional)
Type: Usual
The symbolic name of the tree view item to be selected.
symCode (Optional)
Type: Usual
The symbolic name of the type of selection. It can be one of the following values: #FirstVisible to scroll the item into view, or #DropHighlight to redraw the item. If omitted, the item is simply selected.
lSelect (Optional)
Type: Usual
The optional logical value to determine whether the specified tree view item is selected (TRUE) or deselected (FALSE). If omitted, defaults to TRUE.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
See Also