if Assigned(ColumnInfo[HeaderItem].SplitStr)
then
begin
if ColumnInfo[HeaderItem].SplitStr[Item] <> '
'
then
begin
sSplit := Split(ColumnInfo[HeaderItem].SplitStr[Item], '
;');
TmpRect.Top := TextRect.Top;
TmpRect.Left := TextRect.Left;
TmpRect.Right := TextRect.Right;
for i := Low(sSplit)
to High(sSplit)
do
begin
TmpRect.Top := TmpRect.Top + FPointSize + 2;
DrawEllipsisText(WinHandle,
DC, sSplit[i], TmpRect, Color, FFontName,
FPointSize, FFontStyle, 0, 0);
end;
end;
end;