Ted
If you are using RBase65++ Windows version, the best way to get
graphics to look right is to use the rblob.dll. If you are using
DOS then you will have to get a hold of one of these other gurus.
Make sure your  RBASE.INI file has these (or similar -
will explain) lines in it..
[PlugIn]
FDRAWDLL0=RBARCODE.DLL
FDRAWDLL1=RCALEN.DLL
RDRAWDLL0=RBARCODE.DLL
RDRAWDLL1=RPOSTBAR.DLL
FDRAWDLL2=rblob.dll
RDRAWDLL2=rblob.dll

The FDRAWDLL + number is for doing custom blobs on forms
The RDRAWDLL + number is for doing custom blobs on reports
hence each one starts with F or R

The number has to be added to the end to represent each use of the
dll you want to use and they have to be sequential --ie.. 0,1,2,...
The rblob.dll is the one you need to use. If you don't have
any Dlls set up then your PlugIn section should look like this to
represent the rblob.dll as the first dll.

[PlugIn]
FDRAWDLL0=rblob.dll
RDRAWDLL0=rblob.dll

Of course the rblob.dll needs to be put in same directory as your
Rbase files.. (the RBase exe and other related files).

Now open Rbase so it can read the INI file and give you the option
of using this as a Custom dll

Now Open your report, create a variable like
vr_logo = ('tlogo.jpg, dmStretch')
and make sure it is a Text datatype..
Now you should see the CUSTOM check box in the properties of the
variable. Check it and in the dropdown box that shows up select
rblob.dll.

What this actually does is makes the image fit into the area you
draw on the report of form, and it looks good. If you don't go
this route, by the time you get the image size small enough to fit
on the report/form the pixel quality is really poor and thus looks
bad..

Now one other thing to remember.. when you define the variable..
vr_logo = ('tlogo.jpg, dmStretch') If the image is in the same
directory as the db (i think) it will find it. If not then you
need to define the path to the image.. like...
vr_logo = ('c:\path2image\dbdirectory\tlogo.jpg, dmStretch')

For more info on this go to http://www.razzak.com/fte/fte.taf
and look at the info on Blobs..

Hope this helps
Jim Limburg



parts wrote:
I need to put a graphic in a report for the header.
Can it be done?
Thanks
Ted



Reply via email to