设置默认输入法
uses TypInfo
procedure SetImeA(AOwner:TForm);
var
i:Integer;
begin
for i := 0 to AOwner.ComponentCount - 1 do
begin
if GetPropInfo(AOwner.Components[i],'ImeName')<>nil then
begin
SetPropValue(AOwner.Components[i],'ImeName',
readinifile(getinifile,'ime','imename',''));
end;
end;
end;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/archive/2008/04/19/2940883.html

浙公网安备 33010602011771号