procedure WinTran(Fm:TForm);
var i,j,k:integer; s:string;
begin
with fm do
begin
for i:=0 to componentcount-1 do
begin
if SameText(components[i].ClassName,'TMenuItem') then
begin
s:=TMenuItem(components[i]).Caption; //这里读到的都是乱码
end;
end;
end;
end;
var i,j,k:integer; s:string;
begin
with fm do
begin
for i:=0 to componentcount-1 do
begin
if SameText(components[i].ClassName,'TMenuItem') then
begin
s:=TMenuItem(components[i]).Caption; //这里读到的都是乱码
end;
end;
end;
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货