ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
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
KeepVisibleHierarchy (Property)
In french: ConserverHiérarchieVisible
The KeepVisibleHierarchy property is used to:
  • Determine which elements of the TreeView table will be printed: the entire hierarchy or only visible elements in the control.
  • Change the hierarchy print mode: the entire hierarchy or only visible elements in the control.
This property can only be used in the opening code of a report based on a TreeView Table control.
Example
// -- Opening code of the report
// Prints the visible hierarchy only
RPT_Report1.KeepVisibleHierarchy = True
// -- Opening code of the report
// Prints the entire hierarchy
RPT_Report1.KeepVisibleHierarchy = 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/22/2023

Send a report | Local help