ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
KeepVisibleHierarchy (Property)
In french: ConserverHiérarchieVisible
The KeepVisibleHierarchy property is used to:
  • Know which elements of the hierarchical table are printed: print the complete hierarchy or print the hierarchy visible in the field.
  • Change the hierarchy print mode: print the complete hierarchy or print the hierarchy visible in the field.
This property can only be used in the opening code of a report based on a TreeView Table control.
Example
// -- Code d'ouverture de l'état
// Imprime uniquement la hiérarchie visible
ETAT_Etat1.ConserverHiérarchieVisible = True
// -- Code d'ouverture de l'état
// Imprime toute la hiérarchie
ETAT_Etat1.ConserverHiérarchieVisible = False
Syntax

Getting the hierarchy print mode Hide the details

<Result> = <Report used>.KeepVisibleHierarchy
<Result>: Boolean
  • True if the report will print only the rows currently displayed in the TreeView Table control,
  • False if the report will print all the rows from the TreeView Table control.
<Report used>: Report name
Name of the report based on the TreeView Table control to be used.

Changing the hierarchy print mode Hide the details

<Report used>.KeepVisibleHierarchy = <Type of print>
<Report used>: Report name
Name of the report based on the TreeView Table control to be used.
<Type of print>: Boolean
  • True to print only the rows currently displayed in the TreeView Table control,
  • False to print all the rows from the TreeView Table control.
Remarks
The KeepVisibleHierarchy property applies only to reports based on a TreeView Table control and can only be used in the opening code of the report.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help