关于DBGrideh中多行Footer的问题。(100分)

  • 主题发起人 主题发起人 cqll
  • 开始时间 开始时间
C

cqll

Unregistered / Unconfirmed
GUEST, unregistred user!
我在DBGrideh中,设置了两行Footer。现需要在程序中控制。
DBGridEh1.Columns[0].Footers[0].ValueType:= fvtStaticText;
DBGridEh1.Columns[0].Footers[0].Value:= '11';
程序编译通过,运行报错List Index Out of bounds(1)
更改为
DBGridEh1.Columns[0].Footer.ValueType:= fvtStaticText;
DBGridEh1.Columns[0].Footer.Value:= '11';
则同时两行都被赋值为‘11’了。
 
问题已经解决。
 
跟我说说好不好??咋个解决的哦??
 
DBGrideh的footers属性是否设置为多行?
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
779
import
I
后退
顶部