delphi 让radiobutton被选中

来源:百度知道 编辑:UC知道 时间:2024/06/24 07:28:02
记得看清题目,

不是radiobutton.checked=ture
也不是,radiobuttonclick事件

我要的是,按了BITTUNN以后,
radiobutton1被选中。

在线等

是不是:
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
radiobutton1.checked:=true;
end;

if 被选中 = 获得焦点 then
radiobutton1.setfocus
else if 被选中 = 按钮值为True then
radiobutton1.checked := true
else
不理解你的意图;

懒虫007
你回答的真专业 -__-
。。。。
radiobutton1.setfocus;就是LZ想要的