trichview.support
Re: The ItemCount's miracle ;-) |
Author |
Message |
Sergey Tkachenko |
Posted: 10/21/2003 16:53:45 For TRichViewEdit, formatting procedure adds one empty text item. This procedure is executed when the editor is focused, or when you call any "editing-style" method. > > Hello Sergey: > > I have a simple form with a TRichViewEdit and a SpeedButton, the speedbutton > have the instruction ShowMessage(IntToStr(RVE.ItemCount));. In the OnShow > event of this form I clear the RVE (RVE.Clear) , and display the value for > the RVE.ItemCount, I can see that this is 0. After that, i click on the speedbutton > and I see that at this moment the value is 1 !! > > you can say to me that it has happened? > I can suppose that the value always will be 1? > > Thanks > > Fernando Alonso |
Powered by ABC Amber Outlook Express Converter