谢谢arm,今天我找到帮助了,啃了半天E文,总算弄清楚了,是在每列的Title.Caption
中添加形如Title1|SubTitle1这样的字串,嘻嘻,所以分一半给你了,如何?
请斑竹结束问题了。
Complex titles.
To create title corresponding to several columns, the label of the field or
caption of title of the column must consist of several parts divided by sign
"|", where every part is same for several columns. Other fields or captions must
contain same text in corresponding parts. Set also DBGridEh.UseMultiTitle
property to True.
For instance:
Field1.DisplayLabel := 'Title1|SubTitle1'; or DBGridEh.Columns[0].Title.
Caption := 'Title1|SubTitle1';
Field2.DisplayLabel := 'Title1|SubTitle2'; or DBGridEh.Columns[1].Title.
Caption := 'Title1|SubTitle2';