|
|
|
|
|
- Displaying an element at the start of the TreeView control (syntax 2)
- Selecting an element at row
<TreeView>.Posición (Función) Displays a TreeView control from a specified element (node or leaf) or returns the name of the first element displayed in a TreeView control. Example of TreeView control:
// Name of first element displayed in the "TREE_TVRecipe" TreeView control ResElementName = TREE_TVRecipe.Position()
Sintaxis
Averiguar el nombre del primer elemento mostrado en un control TreeView Ocultar los detalles
<Result> = <TreeView control>.Position([<Duplicate identifier>])
<Result>: Cadena de caracteres Full path of first element displayed in the TreeView control. This result has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>" If there are two elements with the same name in the path, you can add the IDs of the elements (after their names using TreeID). <TreeView control>: Nombre del control Name of the TreeView control to be used. <Duplicate identifier>: Booleano opcional Specifies the management mode of duplicates in the elements of <Result>:
Visualización de un control TreeView a partir de un elemento especificado Ocultar los detalles
<Result> = <TreeView control>.Position(<Node path>)
<Result>: Cadena de caracteres Full path of the first element displayed in the TreeView control after the call to <TreeView>.Posición. This result has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>" <TreeView control>: Nombre del control Name of the TreeView control to be used. <Node path>: Cadena de caracteres Full path of the node that will be displayed in first position in the TreeView control. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ... ["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>" If there are two elements with the same name in the path, you can add the IDs of the elements (after their names using TreeID). Observaciones Displaying an element at the start of the TreeView control (syntax 2) The element displayed first may differ from the one requested. Indeed, if there are not enough elements displayed below the <Node Path> element, this element cannot be displayed at the beginning of TreeView control For example, the "Cold inputs" node can't be displayed at the beginning of the TreeView control: there aren't enough elements displayed below this node.
Selecting an element at row <Index> To select the element at row <Index>, use: - direct assignment:
<TreeView control> = Index If the row is displayed in the TreeView control, the corresponding element is selected. - the <TreeView>.SelectPlus function:
<TreeView control>.SelectPlus(<Full element path>)
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|