References to frxReport1

edited July 2014 in FastReport 4.0
Hi

This is probably a really stupid question. I'm not used to PascalScript at all.

Most of the code examples I see have references to frxReport1 e.g.

frxReport1.Preview := nil;


But I can't get any of them to work! When I try to write a procedure with a line like that I get

Undeclared identifier: frxReport1

What am I doing wrong??

I also want to do something like

Report.Preview.Lock;

but there I get Unknown Type: TfrxCustomPreview

How do I do something like that??

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.