PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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:
  • Find out which elements of the TreeView table will be printed: printing the entire hierarchy or printing the hierarchy that is visible in the control.
  • Modify the print mode of the hierarchy: printing the entire hierarchy or printing the hierarchy that is visible in the control.
This property can only be used in the opening code of a "Report on TreeView Table" report.
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

Finding out the print mode of the hierarchy Hide the details

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

Modify the print mode of the hierarchy Hide the details

<Report used>.KeepVisibleHierarchy = <Type of print>
<Report used>: Report name
Name of the "Report on TreeView Table" report to use.
<Type of print>: Boolean
  • True to print the hierarchy rows currently displayed in the TreeView Table control,
  • False to print all the hierarchy rows displayed in the TreeView Table control.
Remarks
The KeepVisibleHierarchy property only applies to "Report on TreeView Table" reports 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