AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de reportes y controles asociados
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HierarchicalDepth (Property)
In french: ProfondeurHiérarchique
The HierarchicalDepth property is used to:
  • Find out the depth of a hierarchical control in a report.
  • Modify the depth of a hierarchical control in a report (only if the report uses a data source through programming).
This property can only be used in the events of a "Report on TreeView Table".
Example
// -- Pre-print process of Body block
IF ITEM_Col_Customer.HierarchicalDepth = 1 THEN
ITEM_Col_Customer.BackgroundColor = iLightGreen
ELSE
ITEM_Col_Customer.BackgroundColor = iWhite
END
Syntax

Finding out the level of a hierarchical control Hide the details

<Result> = <Control used>.HierarchicalDepth
<Result>: Integer
Depth of the hierarchical control: 0 for the root, 1 for the first level, ...
<Control used>: Control name
Name of the hierarchical control to use.

Modifying the level of a hierarchical control Hide the details

<Control used>.HierarchicalDepth = <New depth>
<Control used>: Control name
Name of the hierarchical control to use. This report must use a data source through programming.
<New depth>: Integer
New depth for the hierarchical control: 0 for the root, 1 for the first level, ...
Remarks
The HierarchicalDepth property applies only to reports based on TreeView controls.
Versión mínima requerida
  • Versión 19
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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