AdvStringGrid 标题头 加粗的问题
摘要:当AdvStringGrid1.RowCount = 1的时候,会是下面这样: 当AdvStringGrid1.RowCount = 2 时 才是正确的:
阅读全文
posted @
2017-06-24 14:45
del88
阅读(296)
推荐(0) 编辑
AdvStringGrid 删除数据
摘要:unit Unit6; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.StdCtrls, Vcl.G...
阅读全文
posted @
2017-05-29 20:42
del88
阅读(540)
推荐(0) 编辑
AdvStringGrid 获取值
摘要:stringGrid.row stringgrid.col分别为当前行和列 stringGrid.cells[stringgrid.col,stringGrid.row]就是当前cell的值
阅读全文
posted @
2017-05-29 16:28
del88
阅读(529)
推荐(0) 编辑
AdvStringGrid 单元格字体颜色、背景颜色
摘要:procedure TForm5.Button1Click(Sender: TObject); var I: Integer; begin AdvStringGrid1.RowCount := 50;//一共50行0..49 AdvStringGrid1.ColWidths[0] := 50;//改变第一列的宽度。 AdvStringGrid1.AddCheckBoxColumn...
阅读全文
posted @
2017-05-10 10:56
del88
阅读(933)
推荐(0) 编辑
AdvStringGrid 复选框、goRowSelect
摘要:但是你会发现,checkbox再单元的左侧了,想居中 怎么办,经过研究发现了advstring自身的一处bug,复选框是写死在左侧的。 我修改下官方的源码,让其写死居中就可了。
阅读全文
posted @
2017-05-09 11:09
del88
阅读(745)
推荐(0) 编辑
AdvStringGrid 列宽度、列移动、行高度、自动调节
摘要:那么有没有办法,让客户自己去调整列的宽度呢? 那么有没有办法 让列宽度、行高度 随着内容而自动变换呢:
阅读全文
posted @
2017-05-09 10:40
del88
阅读(1017)
推荐(0) 编辑
AdvStringGrid 滚动条问题
摘要:1.默认水平方向 滚动条是 小的 滚动的时候 数据会随着滚动 而 滚动的。 2.默认垂直方向 滚动条是 小的 滚动的时候 数据不会随着滚动 而滚动的。ScrollSynch := True; 垂直方向 滚动的时候 数据会随着一并滚动。 3.缺陷就是 默认滚动条是 小的 并非是 根据后面需要滚动的数据
阅读全文
posted @
2017-05-08 17:33
del88
阅读(487)
推荐(0) 编辑
AdvStringGrid 标题头
摘要:标题头内容: 字体: 标题头高度: 头的对齐方式:
阅读全文
posted @
2017-05-08 17:15
del88
阅读(340)
推荐(0) 编辑