Setting a picture to a picture object at run time
I have a picture object wich needs to be inserted with a picture at run time
the picture is not from a table but a directory wich comes through
a parameter.
i want to load this file into the picture object, like i go to it at design time
double click it and load a picture from a selected directory.
How can this be done?
Regards,
Shlomi
the picture is not from a table but a directory wich comes through
a parameter.
i want to load this file into the picture object, like i go to it at design time
double click it and load a picture from a selected directory.
How can this be done?
Regards,
Shlomi
Comments
script of TfrPictureView:
LoadFromFile(filename)
delphi code (TfrReport.OnBeforePrint):
if View.Name = 'Picture1' then
TfrPictureView(View).Picture.LoadFromFile(filename)