delphi 编译错误Statement expected but 'PROCEDURE' found
type TForm5=class(TForm) DataSource1:TDataSource; &n...
type TForm5 = class(TForm) DataSource1: TDataSource; Label1: TLabel; ADODataSet1: TADODataSet; DBGrid1: TDBGrid; DBRadioGroup1: TDBRadioGroup; Button1: TButton; Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; Edit4: TEdit; Edit5: TEdit; Button2: TButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); private { Private declarations } public { Public declarations } end;var Form5: TForm5;implementationuses Unit2;{$R *.dfm} procedure TForm5.Button1Click(Sender: TObject);beginif DBRadioGroup1.ItemIndex<>-1 then begin case DBRadioGroup1.ItemIndex of 0:begin adodataset1.Filtered:=false; //
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询