老问题了,我研究了好长时间,在dbgrid中,打开输入法,比如说五笔,然后把焦点去到其它控件上,这样输入法就会关闭了,请问有什么方法可以解决?谢谢! 
我也在网上查过,说是DBGrid自己的问题,希望高手讲详细了,这段改了过后该怎么办
procedure   TCustomDBGrid.WMKillFocus(var   Message:   TMessage);   
  begin   
      if   not   SysLocale.FarEast   then   inherited//这儿not 应去掉   
      else   
      begin   
          ImeName   :=   Screen.DefaultIme;   
          ImeMode   :=   imDontCare;   
          inherited;   
          if   not   ((InplaceEditor   <>   nil)   and   
              (HWND(Message.WParam)   =   InplaceEditor.Handle))   then   
              ActivateKeyboardLayout(Screen.DefaultKbLayout,   KLF_ACTIVATE);   
      end;   
  end;