PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Operating mode
  • Principle
  • Printing the report created by the developer
  • Direct print of the treeview table
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
A TreeView Table control proposes an automatic popup menu allowing the user to perform several operations on the data displayed in the treeview table.
One of the options found in this popup menu allows the user to print the content of the treeview table ("Print").
Operating mode

Principle

Several cases may occur:
  • If a report was created on this treeview table by the developer, this report is printed.
  • If no report is linked to this treeview table, the user can print the treeview table directly.
Notes:
  • The "Print" option found in the popup menu of treeview tables requires the print libraries of the WINDEV framework.
  • In programming, DisableAAF associated with the aafPrintReportOnTable constant deletes the "Print" option for the specified treeview table.In programming, AAFDisable (or DisableAAF) associated with the aafPrintReportOnTable constant deletes the "Print" option for the specified treeview table.

Printing the report created by the developer

If a report was created on the treeview table by the developer, the "Print" option will be used to print this report. No specific programming is required.

Direct print of the treeview table

When printing the treeview table, the content of the treeview table is viewed in the print preview.
If the number of rows in the treeview table is quite important (more than 10 000 rows), the application asks the user for confirmation (the print may be quite long and it may use a lot of memory).
The characteristics of the print are as follows:
  • The title of the print corresponds to the title of the treeview table. If no title was specified for the treeview table, the "Report on table (AAF)" text is printed.
  • The titles of columns are printed on each page.
  • The print respects the background colors used for the different cells found in the treeview table.
  • The print does not respect the RTF attributes of the texts found in the treeview table.
  • The counters, the totals, ... defined for the treeview table are not printed. Only a counter of rows for the treeview table is printed below the treeview table. The caption corresponds to the caption defined for the counter in the window editor.
  • The date of the day is printed in the top right corner.
  • The number of the current page and the total number of pages are printed in the bottom right corner.
  • The horizontal merge of the columns is respected, except in the following cases:
    • merge with an invisible column
    • merge of columns that "overlay" over 2 pages.
  • The images found in the treeview tables are printed only if their path is specified. The images found in the memos are not printed.
  • The print takes into account the writing direction specified by ..TextDirection for the window and/or for the treeview table.
  • Versions 22 and later
    The columns defined as non exportable and non printable will not be printed (..VisibleInExportAndPrint or "Export and print" in the "General" tab of the description window of the column) .
    New in version 22
    The columns defined as non exportable and non printable will not be printed (..VisibleInExportAndPrint or "Export and print" in the "General" tab of the description window of the column) .
    The columns defined as non exportable and non printable will not be printed (..VisibleInExportAndPrint or "Export and print" in the "General" tab of the description window of the column) .
Minimum required version
  • Version 19
Comments
Click [Add] to post a comment