M
MIB
Unregistered / Unconfirmed
GUEST, unregistred user!
我使用Rxswitch控件代码如下:
if RxSwitch1.StateOn =False then begin
RxClock1.ShowMode:=scDigital;
RxClock1.Height:=40;
RxClock1.Left:=90;
RxClock1.Width:=145;
end
else
RxClock1.ShowMode:=scAnalog;
RxClock1.Height:=145;
RxClock1.Left:=95;
RxClock1.Width:=155 ;
end;
可是run以后按下switch却没任何反应,why?
if RxSwitch1.StateOn =False then begin
RxClock1.ShowMode:=scDigital;
RxClock1.Height:=40;
RxClock1.Left:=90;
RxClock1.Width:=145;
end
else
RxClock1.ShowMode:=scAnalog;
RxClock1.Height:=145;
RxClock1.Left:=95;
RxClock1.Width:=155 ;
end;
可是run以后按下switch却没任何反应,why?