Bug on BCB6

edited 12:15PM in FastReport 3.0
"Variables" member of TfrxReport is not initialised.
"DataSets" member of TfrxReport is initialised, but if I call some procedures (ex: Clear), the application crash

Is there anyway to circumvent this problem?
When will be a new Beta Version of FR3 with bug corrections?

Comments

  • edited September 2004
    IT IS initialized in the Delphi! Can anyone explain why example 1) is not working in the BCB (Picture == NULL), but example 2 is working???

    1)
    TfrxPictureView = class(TfrxView)
     private
     ?  FPicture: TPicture;
     published
     ?  property Picture: TPicture read FPicture write SetPicture;
     end;
    



    2)
     TfrxPictureView = class(TfrxView)
     private
     ?  FPicture: TPicture;
     ?  function GetPicture: TPicture;
     published
     ?  property Picture: TPicture read GetPicture write SetPicture;
     end;
    
    function TfrxPictureView.GetPicture: TPicture;
    begin
     Result := FPicture;
    end;
    


    PS: use FR3.01.
  • edited 12:15PM
    I've already used the first method in a C++ control I've created and it works.

    I think your problem is due to a BCB compiler problem when it compiles Pascal code...

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.