Text display
Posted: Fri Dec 30, 2011 9:51 am
Hi I am struggling to manage the way text is displayed. I have my DB with memos and when an aothor needs to edit these he does so separately using a TRichViewEdit component. The text is displayed properly here. However, when a Reader views the data it is concatenated (using AppendFrom) into a single TRichview component with titles in between. The concatenated text is displayed as white with a red background and I cannot get rid of it, in spite of changing all text as follows.
The headers do change but not the text.
Regards
Code: Select all
for i := 0 to aRV.Style.TextStyles.Count - 1 do
begin
aRV.Style.TextStyles[i].FontName := 'Arial';
aRV.Style.TextStyles[i].Size := 10;
aRV.Style.TextStyles[i].Color := clBlack;
aRV.Style.TextStyles[i].BackColor := clWhite;
end;
Regards