RichView & Tabs
Posted: Sun Mar 04, 2007 9:07 pm
hi (sorry for my bad english)
i want insert a icon forwards a line. i have create parastyle like:
and now i want an icon in the space forwards this line !? maybe its possible whits tabs ?
and insert the text:
but the tab is ignored ? whats wrong ?
thx & greez, sky...
i want insert a icon forwards a line. i have create parastyle like:
Code: Select all
RVStyleManager.AddNewParaStyle(-20,40);
Code: Select all
RVStyleManager.AddNewParaStyle(-40,40);
RVStyleManager.ParaStyles[RVStyleManager.ParaStyles.Count - 1].Tabs.Add.position := 20;
Code: Select all
procedure TSmilieManager.AddSmilieToRV(SmilieCode : byte; RV : TRichView; Para : integer = -1);
var GIF : TJvGIFImage;
begin
GIF := TJvGIFImage.Create;
try
if SmilieCode < self.Count then
begin
GIF.Assign(self[SmilieCode]);
if not GIF.Empty then
RV.AddPictureEx('',GIF,Para,rvvaBaseline)
else
GIF.Free;
end;
except
GIF.Free;
end;
end;
...
SmilieManager.AddSmilieToRV(33,RV);
RV.AddNL(#9 + Text,
TextStyle,
ParaStyle);
thx & greez, sky...