别问我!
我向来不喜欢用非标准的控件
MSFLexgrid还没用过呢

解决方案 »

  1.   

    MSFLexgrid1.cols=4
    MSFLexgrid1.rows=4
      

  2.   

    MSFLexgrid1.cols=4
    MSFLexgrid1.rows=20
      

  3.   

    MSFLexgrid1.cols=4
    MSFLexgrid1.rows=20
    直接用上面两句不行,已经试过了。
      

  4.   

    MSFLexgrid1.cols=4
    MSFLexgrid1.rows=20
    msflexgrid1.redraw
      

  5.   

    添加MsFlexGrid控件到窗体中,然后单击右键,在弹出菜单中选“properties...”
    在“General"标签中:Rows表示行;Columns表示列!
      

  6.   

    MSFLexgrid1.cols=4
    MSFLexgrid1.rows=20!!!OK
      

  7.   

    开始时MSFLexgrid为8列30行,到某一个时候需要将同一个MSFLexgrid行列改为4列20行,则要使msflexgrid.redraw=true
    MSFLexgrid1.cols=4
    MSFLexgrid1.rows=20
    msflexgrid1.redraw=true
      

  8.   

    To:
        Hoee_cn ()  
        怎么会不行呢?它提示什么了???
      

  9.   

    经过试验,以下方法是可行的:
    MSFlexGrid1.Cols = 4
    MSFlexGrid1.Rows = 20