zoukankan      html  css  js  c++  java
  • TcxVerticalGrid demo

    TcxVerticalGrid demo

     

    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;

  • 相关阅读:
    HDU 5247
    HDU 4965
    CodeForces 445B
    HDU 5835
    CodeForces 731C
    HDU 5783
    CodeForces 660D
    POJ 1631
    HDU 6112
    HDU 5860
  • 原文地址:https://www.cnblogs.com/westsoft/p/9010569.html
Copyright © 2011-2022 走看看