no.1在FlexHGrid控件中有什么属性可以删除单元格?!!
no.2假如在FlexHGrid控件的单元格中,4-8列的数据"都"是"零" 的时候 我才可以把单元格中的 数据给删除了,(不是零的时候不删!),应该如何实现?!

解决方案 »

  1.   

    1 .TextMatrix(row, col) = ""2 
    for i = 1 to .rows
        for j = 4 to 8
            if .textmatrix(i, j) <> "0" exit sub
        next j
    next i
    for i = 1 to .rows
        for j = 4 to 8
            .textmatrix(i, j) = "" 
        next j
    next i
      

  2.   

    t=2
    pp:
    for i=t to .rows
    for j=4 to 8
    if .textmartrix(i,j)<>0 then
    exit sub
    esle 
    call ttt
    next j
    t++
    next ittt:
    .textmatrix(i, j) = "" 
    call pp
    end if
      

  3.   

    Grid .TextMatrix(row, col) = ""