码迷,mamicode.com
首页 > 其他好文 > 详细

TcxVerticalGrid demo

时间:2014-07-02 00:14:26      阅读:906      评论:0      收藏:0      [点我收藏+]

标签:for   io   text   ar   re   value   

procedure TForm1.Button1Click(Sender: TObject);
var
row: TcxEditorRow;
i,t: Integer;
begin
grid.ClearRows;
Row := TcxEditorRow(Grid.Add(TcxEditorRow));
Row.Properties.Caption := ‘现金‘;
Row.Properties.EditPropertiesClassName := ‘TcxTextEditProperties‘;
row.Properties.Value := 1;
Row := TcxEditorRow(Grid.Add(TcxEditorRow));
Row.Properties.Caption := ‘银联‘;
Row.Properties.EditPropertiesClassName := ‘TcxTextEditProperties‘;
row.Properties.Value := 1;
for i := 0 to grid.Rows.Count -1 do
begin
t:=t+TcxEditorRow(grid.Rows[i]).Properties.Value;
end;
end;

TcxVerticalGrid demo,布布扣,bubuko.com

TcxVerticalGrid demo

标签:for   io   text   ar   re   value   

原文地址:http://www.cnblogs.com/hnxxcxg/p/3816321.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!