Topic: Add and result

How can i Add from one a tablegrid the values from a certain colum and have the result in a textbox ?

Re: Add and result

You can get total from footer of TableGrid and then copy it to textbox.

Example:

procedure Form1_TableGrid1_OnChange (Sender: string);
begin
   Form1.Edit1.Text := Form1.TableGrid1.Columns[0].Footer.Caption;
end;
Dmitry.

Re: Add and result

I write this nut doesn't do nothing.
Form1.Edit3.Text := Form1.TableGrid1.Columns[3].Footer.Caption;

the values I want to add together are in the columns 3. But I can not get the results.
Can I use this command also in a button and not in the tablegrid1 ?

Re: Add and result

Please, send me your project to support@drive-software.com
with description.

Dmitry.

Re: Add and result

Dimitry it was my mistake., found the error. Sorry and thank's for your quick response