AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The property VisibleEnExportEtImpression property property allows you to:
  • Determine if a column of a Table or TreeView Table control is visible for export and printing.
  • Modify the visibility of a column in a Table or TreeView Table control for export and printing.
Note: This property corresponds to the "Exportar e imprimir" option available in the "General" tab of the Table or TreeView Table control column description window.
Ejemplo
// [Print without details] button
TABLE_CUSTOMER.COL_Details.VisibleInExportAndPrint = False
iPrintReport(RPT_ReportOnCustomerTable)
TABLE_CUSTOMER.COL_Details.VisibleInExportAndPrint = Default
// Export to Excel:
// 1. The COL_Details column is exported
TABLE_MyTable.COL_Details.VisibleInExportAndPrint = False
TableToExcel(TABLE_MyTable, sFile, taNoTitle + taWithInvisibleColumns)
// 2. The COL_Details column is not exported
TABLE_MyTable.COL_Details.VisibleInExportAndPrint = False
TableToExcel(TABLE_MyTable, sFile, taNoTitle)
Sintaxis

Find out whether a column of a Table or TreeView Table control is visible for export and printing Ocultar los detalles

<Result> = <Column>.VisibleInExportAndPrint
<Result>: Integer constant
Management mode of column:
DefaultThe column is exported or printed only if it is visible at display.
FalseThe column can never be exported or printed.
Attention When exporting with one of the export functions (TableToExcel, TableToText, TableToWord, TableToXML, TableToClipboard), if the constant taAvecColonnesInvisibles is used, the column will still be exported.
TrueThe column can be exported or printed (even if it is invisible at display).
<Column>: Control name
Name of the column to be used. This column can be a column found in a Table or TreeView Table control.

Modify the visibility of a column in a Table or TreeView Table control for export and printing Ocultar los detalles

<Column>.VisibleInExportAndPrint = <Visibility>
<Column>: Control name
Name of the column to be used. This column can be a column found in a Table or TreeView Table control.
<Visibility>: Integer constant
Management mode of column:
DefaultThe column is exported or printed only if it is visible at display.
FalseThe column can never be exported or printed.
Attention When exporting with one of the export functions (TableToExcel, TableToText, TableToWord, TableToXML, TableToClipboard), if the constant taAvecColonnesInvisibles is used, the column will still be exported.
TrueThe column can be exported or printed (even if it is invisible at display).
Observaciones
The property VisibleInExportAndPrint property is taken into account in the following cases:
  • printing via the printing AAF (Automatic Application Functionality): printing, for example, via the "Print" option in the Table control context menu.
  • print performed via the export AAFs in the context menu of the Table control.
  • export via the export functions (TableToExcel, TableToText, TableToWord, TableToXML, TableToClipboard).
Versión mínima requerida
  • Versión 22
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

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