Odd issue with TFRXRichView

al_nolandal_noland Tulsa, Oklahoma
edited May 2013 in FastReport 4.0
In Delphi 2007 the following lines of code work correctly and give me the first line of text and the length of that text in the x and y values.

x := tfrxrichview(frxreport1.FindObject('RichReport')).RichEdit.lines[0]

y := length(tfrxrichview(frxreport1.FindObject('RichReport')).RichEdit.lines[0])

In Delphi XE2 the results are '' and 0. The ...Richedit.text shows the raw text correctly in both.

Anyone have thoughts as to what is causing this?

I'm using Fast Report 4.12.2 in both environments.

Thanks
Allen

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.