Hey all,
I have a handful of logos that are all different sizes. I want to show
them on a report but when I use the actual physical files, I can't
control the centering properly.
I've got a large image field on the report - but if my image is tiny, it
immediately aligns to the left. When an image is larger, it fills nicely.
(I hope that explains the problem well)
I've suggested adding white space to the client (I believe they are
still laughing)
So, my thinking went to General Fields.
First, I know general fields are a bad way to go on this but this is the
only way to support proper centering.
So now the real issue is that when I take a JPG file, it wants to use
the Windows Photo Viewer, which doesn't support native viewing.
If I convert the JPG to a BMP, it works properly (because it's using MS
Paint) BUT the quality is terrible.
I tried to explicitly note the JPG as a Paint.Picture, but it still
wants to use the Windows Photo Viewer.
Has anyone found a good solution to this (either a better General
OLEClass for JPG) or a better overall solution?
Thanks
Andrew
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/53D8B5CF.8080700@aksel.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Andrew MacNeill wrote:
> Hey all,
> I have a handful of logos that are all different sizes. I want to show
> them on a report but when I use the actual physical files, I can't
> control the centering properly.
> I've got a large image field on the report - but if my image is tiny,
> it immediately aligns to the left. When an image is larger, it fills
> nicely.
> (I hope that explains the problem well)
>
>
<snip>
Why not put all the pictures on the report in the correct place and use
the "print when" dialog to only print the one you want. Just use a
private variable in your calling program to control which one is printed.
Peter
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/53D8B9B4.4040705@whisperingsmith.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
I recently posted a query re screenshots and was advised to use PNG format
which works well - have you tried converting the JPGs to PNG> Just a WAG.
John Weller
01380 723235
07976 393631
> I have a handful of logos that are all different sizes. I want to show
them on a
> report but when I use the actual physical files, I can't control the
centering
> properly.
> I've got a large image field on the report - but if my image is tiny, it
> immediately aligns to the left. When an image is larger, it fills nicely.
> (I hope that explains the problem well)
>
> I've suggested adding white space to the client (I believe they are still
> laughing)
>
> So, my thinking went to General Fields.
> First, I know general fields are a bad way to go on this but this is the
only way
> to support proper centering.
> So now the real issue is that when I take a JPG file, it wants to use the
> Windows Photo Viewer, which doesn't support native viewing.
> If I convert the JPG to a BMP, it works properly (because it's using MS
> Paint) BUT the quality is terrible.
> I tried to explicitly note the JPG as a Paint.Picture, but it still wants
to use the
> Windows Photo Viewer.
>
> Has anyone found a good solution to this (either a better General OLEClass
> for JPG) or a better overall solution?
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/000601cfac21$65b6f0e0$3124d2a0$@johnweller.co.uk
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Hi Peter,
These are all dynamic images (people upload them) - so no go.
On 7/30/2014 5:24 AM, Peter Cushing wrote:
> <snip>
>
> Why not put all the pictures on the report in the correct place and
> use the "print when" dialog to only print the one you want. Just use a
> private variable in your calling program to control which one is printed.
>
> Peter
>
>
> ___
>
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/53DCE419.5040604@aksel.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
You can still use a variable in the picture name to dynamically specify the name of the picture. Just use =<varname>
Dave
-----Original Message-----
From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Andrew MacNeill
Sent: 02 August 2014 14:14
To: profox@leafe.com; profoxtech@leafe.com
Subject: Re: JPG as General Fields in FRX
Hi Peter,
These are all dynamic images (people upload them) - so no go.
On 7/30/2014 5:24 AM, Peter Cushing wrote:
> <snip>
>
> Why not put all the pictures on the report in the correct place and
> use the "print when" dialog to only print the one you want. Just use a
> private variable in your calling program to control which one is printed.
>
> Peter
>
>
> ___
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB22A54E4E6@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Dave,
I realize that - the issue is that you can't center the image the way
you can with a general field.
So Picture 1 is 100 x 300
Picture 2 is 300 x 50
Picture 3 is 50 x 50
The space drawn for the image is an entire row in the band.
The problem is that with variable and file names, the images are always
left aligned.
With a General field, you can check the option to Center the image.
That's what I'm struggling with.
On 8/4/2014 7:12 AM, Dave Crozier wrote:
> You can still use a variable in the picture name to dynamically specify the name of the picture. Just use =<varname>
>
> Dave
>
> -----Original Message-----
> From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Andrew MacNeill
> Sent: 02 August 2014 14:14
> To: profox@leafe.com; profoxtech@leafe.com
> Subject: Re: JPG as General Fields in FRX
>
> Hi Peter,
>
> These are all dynamic images (people upload them) - so no go.
>
> On 7/30/2014 5:24 AM, Peter Cushing wrote:
>> <snip>
>>
>> Why not put all the pictures on the report in the correct place and
>> use the "print when" dialog to only print the one you want. Just use a
>> private variable in your calling program to control which one is printed.
>>
>> Peter
>>
>>
>> ___
>>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/53E1E0D7.2050203@aksel.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Sorry all - for the double posts
On 8/6/2014 4:01 AM, Andrew MacNeill wrote:
> Dave,
>
> I realize that - the issue is that you can't center the image the way
> you can with a general field.
>
> Report [OT] Abuse:
> http://leafe.com/reportAbuse/53E1E0D7.2050203@aksel.com
>
>
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/53E1E203.9010702@aksel.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
You can embed the image in a rtf and show it centered on a general field.
-----Mensaje original-----
De: ProFox [mailto:profox-bounces@leafe.com] En nombre de Andrew MacNeill
Enviado el: miércoles, 30 de julio de 2014 11:07
Para: profoxtech@leafe.com
Asunto: JPG as General Fields in FRX
Hey all,
I have a handful of logos that are all different sizes. I want to show
them on a report but when I use the actual physical files, I can't
control the centering properly.
I've got a large image field on the report - but if my image is tiny, it
immediately aligns to the left. When an image is larger, it fills nicely.
(I hope that explains the problem well)
I've suggested adding white space to the client (I believe they are
still laughing)
So, my thinking went to General Fields.
First, I know general fields are a bad way to go on this but this is the
only way to support proper centering.
So now the real issue is that when I take a JPG file, it wants to use
the Windows Photo Viewer, which doesn't support native viewing.
If I convert the JPG to a BMP, it works properly (because it's using MS
Paint) BUT the quality is terrible.
I tried to explicitly note the JPG as a Paint.Picture, but it still
wants to use the Windows Photo Viewer.
Has anyone found a good solution to this (either a better General
OLEClass for JPG) or a better overall solution?
Thanks
Andrew
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/BD6F250C21C04703BBFD59801536FB08@LENOVO1
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Andrew:
Long time no see!
General fields are a perfectly fine solution if you're going to run your
app on one computer that has a fixed association for JPG files and that
computer application and OS is never changed. Otherwise, you run into COM
nightmares where the General Field is associated with an application and
has a binary data blob that can't find its matching program.
I don't know the solution to your issue off the top of my head; surely
someone has solved this one before! But my reaction is that General is
almost never the correct answer.
On Wed, Jul 30, 2014 at 5:07 AM, Andrew MacNeill <lists@aksel.com> wrote:
> Hey all,
> I have a handful of logos that are all different sizes. I want to show
> them on a report but when I use the actual physical files, I can't control
> the centering properly.
> I've got a large image field on the report - but if my image is tiny, it
> immediately aligns to the left. When an image is larger, it fills nicely.
> (I hope that explains the problem well)
>
> I've suggested adding white space to the client (I believe they are still
> laughing)
>
> So, my thinking went to General Fields.
> First, I know general fields are a bad way to go on this but this is the
> only way to support proper centering.
> So now the real issue is that when I take a JPG file, it wants to use the
> Windows Photo Viewer, which doesn't support native viewing.
> If I convert the JPG to a BMP, it works properly (because it's using MS
> Paint) BUT the quality is terrible.
> I tried to explicitly note the JPG as a Paint.Picture, but it still wants
> to use the Windows Photo Viewer.
>
> Has anyone found a good solution to this (either a better General OLEClass
> for JPG) or a better overall solution?
>
> Thanks
>
> Andrew
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4vhhRS4o6x36fgy+TcWVoEmhtapa+zkrZPoK1+fnazqcg@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Andrew,
Several years ago I got help from this list to do exactly what you want to
do in a report using a report listener subclass. I have a copy of the
report code on my desktop but will need to lookup the report listener code
on my laptop at another site. The report gets the name of the jpg file from
a database and has "Center" into the User data field under the Other tab of
the Picture properties. If this approach would still be useful to you I
will try to look it up and post the actual code sometime this week.
Joe
On Sun, Aug 10, 2014 at 7:39 AM, Ted Roche <tedroche@gmail.com> wrote:
> Andrew:
>
> Long time no see!
>
> General fields are a perfectly fine solution if you're going to run your
> app on one computer that has a fixed association for JPG files and that
> computer application and OS is never changed. Otherwise, you run into COM
> nightmares where the General Field is associated with an application and
> has a binary data blob that can't find its matching program.
>
> I don't know the solution to your issue off the top of my head; surely
> someone has solved this one before! But my reaction is that General is
> almost never the correct answer.
>
>
>
> On Wed, Jul 30, 2014 at 5:07 AM, Andrew MacNeill <lists@aksel.com> wrote:
>
> > Hey all,
> > I have a handful of logos that are all different sizes. I want to show
> > them on a report but when I use the actual physical files, I can't
> control
> > the centering properly.
> > I've got a large image field on the report - but if my image is tiny, it
> > immediately aligns to the left. When an image is larger, it fills nicely.
> > (I hope that explains the problem well)
> >
> > I've suggested adding white space to the client (I believe they are
> still
> > laughing)
> >
> > So, my thinking went to General Fields.
> > First, I know general fields are a bad way to go on this but this is the
> > only way to support proper centering.
> > So now the real issue is that when I take a JPG file, it wants to use the
> > Windows Photo Viewer, which doesn't support native viewing.
> > If I convert the JPG to a BMP, it works properly (because it's using MS
> > Paint) BUT the quality is terrible.
> > I tried to explicitly note the JPG as a Paint.Picture, but it still wants
> > to use the Windows Photo Viewer.
> >
> > Has anyone found a good solution to this (either a better General
> OLEClass
> > for JPG) or a better overall solution?
> >
> > Thanks
> >
> > Andrew
> >
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CABQeDnX=F2u5DZ1uoGuTe=1465PTEijOusBYNtQpvKpz9JERYg@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.