if IsWindowEnabled(Form1.Handle) then
begin
EnableWindow(Form1.Handle,FALSE);
Button1.Caption:='Enable Window';
Edit1.Text:='This window is disabled';
end
else
begin
EnableWindow(Form1.Handle,TRUE);
Button1.Caption:='Disable Window';
Edit1.Text:='This window is enabled';
end;
[Error] Uapi1.pas(47): Illegal character in input file: ' ' ($A1A1)
[Error] Uapi1.pas(48): Illegal character in input file: ' ' ($A1A1)
请问是什么原因?
begin
EnableWindow(Form1.Handle,FALSE);
Button1.Caption:='Enable Window';
Edit1.Text:='This window is disabled';
end
else
begin
EnableWindow(Form1.Handle,TRUE);
Button1.Caption:='Disable Window';
Edit1.Text:='This window is enabled';
end;
[Error] Uapi1.pas(47): Illegal character in input file: ' ' ($A1A1)
[Error] Uapi1.pas(48): Illegal character in input file: ' ' ($A1A1)
请问是什么原因?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货