Formula One6 中 F1Book1.ColText 属性什么意思.怎么用?F1Book1.ColText[1]:='aaaaaaaa';出错."无效的参数数目"
这个属性什么用.怎么用.
这个属性什么用.怎么用.
解决方案 »
- 关于UniDAC这套数据库访问控件的
- StringGrid自动换行,包括粘贴后换行。问题解决再开200分
- delphi中有没有undo功能,就是“撤销”功能?
- 找DELPHI数据库熟手做小项目
- 哪个高手用过JVCL组件,其中有一个消息提示控件(类似MSN 的消息提示框),叫什么名字?
- 求助:用QReport时,怎样在detail中动态生成TQRLabel?一定给分
- 将double如何转为string
- yuanjunjing(※挪威森林※)快来解决一个算法,这些分就是你的了
- 代码不知道中哪错了?请高手帮忙?
- 请问怎么从INI文件中读出数据?
- 高手快进来看看-在线等
- combobox.items里的项目内容,在运行时为什么不能选择它到初始行?帮帮美女啊!!在线等
f1book1.RowText[f16book1.MaxRow + 1] := '总额'; 行名
f1book1.colText[1] :='dd'; 列名
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