⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit3.~pas

📁 双色球分析软件
💻 ~PAS
字号:
unit Unit3;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, EasyGrid, StdCtrls;

type
  TForm1 = class(TForm)
    Grid1: TEasyGrid;
    Button1: TButton;
    procedure FormCreate(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
    grid1.Cells[1,2].ForeText:='2';
    grid1.Cells[2,2].ForeText:='3';
    grid1.Cells[3,2].ForeText:='5';
    grid1.Cells[4,2].ForeText:='8';
end;

procedure TForm1.Button1Click(Sender: TObject);
var
   i:integer;
   ss:TStringList;

begin
   ss:=TStringList.Create;
   for i:=1 to 4 do
   begin
       if i=1 then
       begin
           grid1.Cells[i+1].ForeText-grid1.Cells[i].ForeText
       end;
   end;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -