Курсовая работа: Создание базы данных "Wc3 Cybersport Data Base"
Application.ProcessMessages;
end;
end;
procedure TForm1.NewQuery1Click(Sender: TObject);
begin
Button1.Click;
end;
procedure TForm1.Deletequery1Click(Sender: TObject);
begin
NewEditDelete(3);
statusbar1.SimpleText:='Deleted...';
end;
procedure TForm1.EditQuery1Click(Sender: TObject);
var
x,i :integer;
begin
richedit1.Clear;
Button2.Caption:='Edit';
For x:=0 to listbox1.Items.Count-1 do begin
If listbox1.Selected[x] then begin
Edit1.Text:=Listbox1.Items.Strings[x];
statusbar1.SimpleText:='Modifying '+edit1.Text+' Query...';
For i:=0 to strtoint(ini.ReadString(Listbox1.Items.Strings[x],'0',''))-1 do
begin
richedit1.Lines.add(ini.ReadString(Listbox1.Items.Strings[x],inttostr(i+1),''));
end;
end;
end;
for x:=125 to form1.Width+120 do begin