A
a12011805
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.RadioButton1Click(Sender: TObject);
begin
if (Sender = RadioButton1) then
Form1.Color:=clBlack
else
if (Sender = RadioButton2) then
Form1.Color:= clMaroon;
end;
procedure TForm1.RadioButton2Click(Sender: TObject);
begin
Form1.RadioButton1Click(Sender: TObject);
end;
请问下RadioButton2Click怎样调用RadioButton1Click1的事件。
begin
if (Sender = RadioButton1) then
Form1.Color:=clBlack
else
if (Sender = RadioButton2) then
Form1.Color:= clMaroon;
end;
procedure TForm1.RadioButton2Click(Sender: TObject);
begin
Form1.RadioButton1Click(Sender: TObject);
end;
请问下RadioButton2Click怎样调用RadioButton1Click1的事件。