AdvStringGrid
来源:互联网 发布:怎么启动mysql数据库 编辑:程序博客网 时间:2024/05/16 14:08
//从文件中加载
asg.LoadFromCSV(Path+FileName);
//清空所有行
asg.ClearRows(0,asg.RowCount-1);
//保存
asg.SaveToCSV(Path+'Test.csv');
ColCount := 41; {总列数}
RowCount := 3; {总行数}
FixedRows := 2; {表头行数}
FixedCols := 2; {表头列数}
DefaultColWidth := 18; {设缺省列宽}
DefaultRowHeight := 18; {设缺省行高}
ColWidths[0] := 56; {设表头第一列宽}
RowHeights[0] := 20; {设表头第一行高}
MergeCells(0,0,1,2); {合并函数:列,行,合并多少列,合并多少行}
Cells[0,0] := '期数'; {显示文字}
{对符合条件的列行着背景色和文字色、类型}//OnGetCellColor事件
if (not(aRow In [0..1])) and (aCol In [2..11]) then
begin
AFont.Style := AFont.Style + [fsBold];
ABrush.Color := $00E0FFFA;
AFont.Color := clWhite;
end;
Halign := taCenter; {文字水平垂直居中}//OnGetAlignment事件
- AdvStringGrid
- AdvStringGrid
- TMS AdvStringGrid
- advstringgrid排序
- advstringgrid 使用
- AdvStringGrid使用技巧
- 学习和使用AdvStringGrid
- AdvStringGrid显示Access数据
- AdvStringGrid使用方法(1)
- AdvStringGrid使用方法(2)
- AdvstringGrid and Registry Demo
- Registry and AdvstringGrid
- AdvStringGrid使用小结
- AdvStringGrid使用技巧
- advstringGrid列不见了
- AdvStringGrid 中加载图片
- AdvStringGrid单元格获得焦点
- 动态AdvStringGrid完美示例 (AdvStringGrid使用技巧/Cells)
- boost正则表达式匹配一次
- IT新人最实用的职场建议
- 基于双语语料库的受限语言机器翻译系统
- combobox实现下拉多选的终结解决方案
- 挂羊头卖狗肉的播放器
- AdvStringGrid
- PHP常用函数列表
- KOL 常用函数
- 高效阅读“工作用书”
- SimpleDateFormat使用详解
- php的引用(就是在变量或者函数、对象等前面加上&符号)
- WTL 命令行编译
- 面试小故事:腾讯面试全记录
- SendMessage函数的常用消息及其应用