trichview.com

trichview.support




Re: Getting the text of an item using TCustomRVItemInfo


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/05/2004 15:03:07


You cannot get text if you have a pointer to item.

Actually, items are stored in TStringList. Text is Items[i], item is

Items.Objects[i].

(note: it can be changed in future)

Item does not have a reference to text and to stringlist itself.


> So is there any way I can get at the text if I have a pointer to the

> item? Does the item have any properties I could use to get at its text?

>

> Cheers,

> Martin

>

> Sergey Tkachenko wrote:

> > Item does not store its text (may be this will be changed in future).

> > Text is stored separately.

> >

> >

> >

> >>Hi there,

> >>

> >>I've written functions which create for me a list of all the items in a

> >>document in TRichViewEdit (including embedded tables) in sequence, so I

> >>can iterate through them in order. I'm accessing the resulting items

> >>like this:

> >

> >

> >





Powered by ABC Amber Outlook Express Converter