AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the number of direct children for an element in a TreeView Table control.
Ejemplo
// On veut compter le nombre de desserts présents dans la carte du restaurant
nNombreDessert is int 
nNombreDessert = TABLEH_Carte.FilsOccurrence("Desserts")
Info("Il y a actuellement: " + nNombreDessert + " disponibles.")
Sintaxis

Hijos de una fila identificados por su número Ocultar los detalles

<Result> = <TreeView Table control>.ChildCount(<Row number>)
<Result>: Integro
  • Number of children for the element.
  • -1 if the number of the specified row does not exist.
<TreeView Table control>: Nombre del control
Name of the TreeView Table control to be used.
<Row number>: Integro
Number of row for which the number of child elements will be calculated.

Hijos de una fila identificados por su ruta Ocultar los detalles

<Result> = <TreeView Table control>.ChildCount(<Branch name>)
<Result>: Integro
Number of children for the element
<TreeView Table control>: Nombre del control
Name of the TreeView Table control to be used.
<Branch name>: Cadena de caracteres
Name of the branch for which the number of child elements must be calculated. This parameter has the following format:
"<Root name>" + TAB + ["<Name of 1st node>" + TAB + ...
["<Name of 2nd node>" + TAB + [...]]]"<Leaf name>"
A WLanguage error occurs if this parameter does not correspond to an existing branch.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local