|
|
|
|
|
TotalsEnabled (Property) In french: TotauxActif
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: - For more details about implementing and programming calculations in Table controls, see:
- If the DisplayEnabled property is used on the Table control and is set to False, the calculations are not updated.
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).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|