Formula One6 中 F1Book1.ColText 属性什么意思.怎么用?F1Book1.ColText[1]:='aaaaaaaa';出错."无效的参数数目"
这个属性什么用.怎么用.

解决方案 »

  1.   

    F1BOOK1.TopLeftText := '我的报表';左上角的标示
    f1book1.RowText[f16book1.MaxRow + 1] := '总额'; 行名
    f1book1.colText[1] :='dd'; 列名
      

  2.   

    Description
    Sets or returns the label for a column. Setting this property affects all selected sheets.Syntax
    F1Book1.ColText ( nCol ) [ = colText ]Part Type Description
    nCol Long Identifies a column by number.
    colText String The column label text.
    ResNaming a column is useful for labeling columns so they reflect the data in the column (e.g., column G might be named Total Sales). The column name is displayed in the column heading and is used for display purposes only. The column is still referred to by letter reference in formulas.
    The column name can be up to 9 lines and 254 bytes. A CR (carriage return) and LF (line feed) combination are counted as two characters.
    Set ColText to change a column label and get the value of ColText to return a string that contains the current column label.Example
    The following example restores the original column heading text after modifications have been made:Dim i As Integer
    For i = 1 to 26
    F1Book1.ColText (i) = Chr(i+64)
    Next i
    For i = 27 to 256
    F1Book1.ColText ( i ) = Left$( F1Book1.FormatRCNr ( 1, i, False), 2)
    Next i