Compile fails on RichViewTextItemClass not found

General TRichView support forum. Please post your questions here
Post Reply
jimmaguire
Posts: 207
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Compile fails on RichViewTextItemClass not found

Post by jimmaguire »

I haven't upgraded yet but the new company I'm working with has purchased the latest edition and they cannot compile my code. It fails on RichViewTextItemClass that I use to insert multi line text. I'm using v22

Sample code:

//InsertMultilineText(RVData, i, j, vStringList.Text);
for j := vStringList.Count-1 downto 0 do
begin
item := RichViewTextItemClass.Create(RVData);
s := ReplaceCRLFWithSpaces(vStringList[j]);
Sergey Tkachenko
Site Admin
Posts: 17836
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Compile fails on RichViewTextItemClass not found

Post by Sergey Tkachenko »

Change RichViewTextItemClass to RVItemFactory.TextItemClass.

See https://www.trichview.com/help/new_in_version_24.html
Post Reply