Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

icon propertie of tppReport component doesn't work ???

edited November 2001 in General
Nothing change when I specified an icon in the tppReport icon propertie.

How can I change it ???

Comments

  • edited November 2001
    I just tried it with RB 6.03 with the following code and my icon showed up
    on the previewer correctly.


    procedure TForm1.Button1Click(Sender: TObject);
    var
    lIcon: TIcon;
    begin

    lIcon := TIcon.Create;

    lIcon.LoadFromFile('C:\Icons\Icon1.ico');

    ppReport1.Icon := lIcon;

    ppReport1.Print;

    lIcon.Free;

    end;



    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.