2,496
社区成员
发帖
与我相关
我的任务
分享
select case checked when 0 then '电风扇' when 1 then '冰箱' when 2 then '其它' end as T
from Res_User_Temp
if AText<>'' then
begin
if strtoint(atext)=1 then
atext:='电风扇';
end;
if(CheckValue=0) then
begin
AViewInfo.Focused;
ACanvas.Brush.Color:=clRed;
end;
if(CheckValue=1) then
begin
AViewInfo.Focused;
ACanvas.Brush.Color:=clGreen;
end;
if(CheckValue=2) then
begin
AViewInfo.Focused;
ACanvas.Brush.Color:=clFuchsia;
end;