RxDBGrid & Title Row Height
Добавлено: 06.10.2016 13:18:06
Можна задать двойную висоту заголовка чтоб не изменялась при MultiTitle = True и False?
procedure TRxDBGrid.CalcTitle;
...
if not (rdgDisableWordWrapTitles in OptionsRx) then
RowHeights[0] := DefaultRowHeight * H
else
RowHeights[0] := DefaultRowHeight;
if (rdgMultiTitleLines in OptionsRx) then RowHeights[0] := Max(RowHeights[0], DefaultRowHeight * 2);
procedure TRxDBGrid.CalcTitle;
...
if not (rdgDisableWordWrapTitles in OptionsRx) then
RowHeights[0] := DefaultRowHeight * H
else
RowHeights[0] := DefaultRowHeight;
if (rdgMultiTitleLines in OptionsRx) then RowHeights[0] := Max(RowHeights[0], DefaultRowHeight * 2);