trichview.support
I dont think so! |
Author |
Message |
Mamouri |
Posted: 04/28/2003 17:05:50 >Last added style has index = RVStyle1.TextStyles.Count-1, not >RVStyle1.TextStyles.Count I dont think so, Sergy. Look to folloing code: with RVStyle1.TextStyles do begin Add; Items[RVStyle1.TextStyles.Count].BackColor := clCream; Items[RVStyle1.TextStyles.Count].Size := 50; end; if RVStyle1.TextStyles.Items[RVStyle1.TextStyles.Count].Size = 50 then ShowMessage('"RVStyle1.TextStyles.Count" indicate last item!'); Please, Please Help me! Regards "Sergey Tkachenko" <[email protected]> wrote: >Last added style has index = RVStyle1.TextStyles.Count-1, not >RVStyle1.TextStyles.Count >(see your call of ApplyTextStyle method) > >> I dont know is Am I forgot a thing or there is a bug in TRichView! >> > > > |
Powered by ABC Amber Outlook Express Converter