AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
The TotalsEnabled property enables you to:
  • * Identify the calculation method used for columns in a Table or TreeView Table control (automatic or custom),
  • Temporarily forbid or force column calculations (automatic or custom) in a Table or TreeView Table control.
Remarks:
Example
TABLE_TABLE1.TotalsEnabled = False // no more calculated totals
FOR I = 1 TO 50
TableAdd(TABLE_TABLE1, MyCalculationRowContent(I))
Multitask(-1) // the table is redisplayed without totals
END
TABLE_TABLE1.TotalsEnabled = True
Trace(" Total = " + COL_TOTALCOL[rowTotal])
Syntax

Identifying the calculation method used for columns (automatic or custom) Hide the details

<Result> = <Control used>.TotalsEnabled
<Result>: Boolean
  • True if the column calculations (automatic or custom) are immediately performed,
  • False if the column calculations (automatic or custom) are not performed.
<Control used>: Control name
Name of Table or TreeView Table control containing the column calculations (automatic or custom).

Changing the calculation method used for columns (automatic or custom) Hide the details

<Control used>.TotalsEnabled = <New method>
<Control used>: Control name
Name of Table or TreeView Table control containing the column calculations (automatic or custom).
<New method>: Boolean
  • True to force the execution of column calculations (automatic or custom) in the control,
  • False not to perform the column calculations (automatic or custom).
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 24/08/2022

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