Recent

Author Topic: How to open correct .lrf on doubleclicking frReport object?  (Read 2964 times)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
How to open correct .lrf on doubleclicking frReport object?
« on: December 24, 2013, 02:29:35 pm »
Laz trunk, fpc 2.7.1 x86, Windows.

I recently updated the lazreport tutorial and noticed that whenever I doubleclick the report object on the form in design mode, I have to manually load the .lrf file.

Once I do that, LazReport remembers the file and will open the report by default edit for that session in the designer. Next time I open the Lazarus project, I have to reopen the .lrf.

Is there any way to set the report filename as an object property so you don't need to select the correct lrf each time? I have looked but haven't found anything that looks promising.

Attached current source code for tutorial.
« Last Edit: December 24, 2013, 03:33:34 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: How to open correct .lrf on doubleclicking frReport object?
« Reply #1 on: January 10, 2014, 12:04:37 pm »
Bump. Anybody any ideas?
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018