关注!!!
在6.0中帮助里有MergeCells属性,可是编译不过去,是不是没加进来?呵呵

解决方案 »

  1.   

    看一下它的help就可以了
    var     mycellformat:If1cellformat;
    begin
    mycellformat:=f1.CreateNewCellFormat;
    mycellformat.MergeCells:=true;
    f1.SetCellFormat(mycellformat);
    f1.SetAlignment(3,true,2,0);
    f1.SetSelection(1,2,2,2);
    end;
      

  2.   

    可是你的方法只能横向合并呀,我的Help里说只能横向合并,即SetAlignment(3,true,2,0)中的最后一个参数只能取零,不知道各位的F1Book能不能竖向合并???