Page 1 of 1

Compile fails on RichViewTextItemClass not found

Posted: Sun May 04, 2025 10:46 pm
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]);

Re: Compile fails on RichViewTextItemClass not found

Posted: Mon May 05, 2025 11:57 am
by Sergey Tkachenko
Change RichViewTextItemClass to RVItemFactory.TextItemClass.

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