procedure TForm1.Timer1Timer(Sender: TObject);
beginif getsystemmetrics(sm_network) and$01=$01 then
edit1.Text:='联网'
else
edit1.Text:='脱机';
end;高手们,以上代码错了吗?为何我去了网线,还是联网,,#3晕呀
beginif getsystemmetrics(sm_network) and$01=$01 then
edit1.Text:='联网'
else
edit1.Text:='脱机';
end;高手们,以上代码错了吗?为何我去了网线,还是联网,,#3晕呀
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货