What way should I do the following in v5?
with WPRichText1 do
CPPosition := 0;
repeat
CPAttr^.Style := [afsBold];
until not CPMoveNext;
Refresh;
end;
Thanks in advance.
#1
♥ 0
What way should I do the following in v5?
with WPRichText1 do
CPPosition := 0;
repeat
CPAttr^.Style := [afsBold];
until not CPMoveNext;
Refresh;
end;
Thanks in advance.
Hi,
WPRichText1.SelectAll;
WPRichText1.CurrAttr.AddStyle([afsBold]);
would do this.
Julian