Welcome! Log In Create A New Profile


[WD24] Can't enable totals on cloned table column

Posted by Al 
[WD24] Can't enable totals on cloned table column
January 09, 2020 08:27PM
Hello All

I am trying to create a table using ControlCreate()
It works ok and I can set most of the column attributes that I need except for TotalsEnabled
I have tried Indirection and referencing the column but no luck with either.

This is the code:
Col4 is Control <- ControlCreate("drl_table.Col4",typColumn)
Col4..Width = 100
Col4..Caption = "Money"
Col4..InputType = typInputNum
Col4..InputMask = "999999,99"

{"drl_table.col4"}..TotalsEnabled = True

Col4..TotalsEnabled = True

This is the error message
The TotalsEnabled property does not apply to Col4 control. Control Type: Table Column.

Can it done ? and if so can anyone post the correct syntax please

Re: [WD24] Can't enable totals on cloned table column
January 10, 2020 07:27AM

It seems reluctant TotalsEnabled


Edited 2 time(s). Last edit at 01/10/2020 08:29AM by infos.

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.