在cxgrid的顶端的groupbybox中有drag a column header here to group by that column这句话,不知道能不能改成其他的话,比方说改成中文????

解决方案 »

  1.   

    好你不好,改成中文要重新编译才可以的,有别个已译好的,去www.playicq.com下载一下
      

  2.   

    D:\Program Files\Developer Express Inc\ExpressQuantumGrid 4\Delphi 7\Sources\cxGridStrs.pas
    打开就知道了!
    --------------------------------------
    靠,还不结帖!
      

  3.   

    补上,bpl文件重编译一下!--------------------------------------
    靠,还不结帖!
      

  4.   

    你的意思是直接改cxGridStrs.pas文件?
    bpl文件是哪一个?
    谢谢将清除一点,再次感谢!!!
      

  5.   

    这个问题在大富翁里问的人最多了,
    GroupPanel上面的英文[Drag a column header to group by that column]怎么可以改成中文?
        解决:最简单的方法是 TcxGridTableView.OnCustomDrawPartBackground ,也可用 OnCustomDrawGroupCell:    procedure TForm1.cxGrid1DBTableView1CustomDrawPartBackground(
                   Sender: TcxGridTableView; ACanvas: TcxCanvas;
                  AViewInfo: TcxCustomGridCellViewInfo; var ADone: Boolean);
        begin
          AViewInfo.Text:='动态设置 GroupBox 的显示内容';
          ACanvas.FillRect(AViewInfo.Bounds);
        end;