Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center an Image in a report
Message
 
 
To
14/03/2007 16:22:16
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01203672
Message ID:
01203847
Views:
16
Frank,

Sorry, my memory is playing tricks on me. Here is the recent thread Problem centering JPEG Thread #1180619 with the same problem as yours and no good resolution. I see you're also wrestling with the problem on foxite.

The older threads including this one Re: Images Thread #850586 Message #850949 don't offer much help either. Looks like this problem doesn't have an easy solution. Luckily I don't have to deal with it <g>

>Hi,
>
>I've got a report that displays the user's logo at the top centre of the first page. The problem I have is that the user can decide what logo they are using and it must be centred.
>
>The only way I can get an image centred is if I use a control sourc etype of "general field name" and select the "center general field horizontally in frame".
>
>No other setting seems to work.
>
>Normally I just use an expression or variable name, but that doesn't allow the centring of the image.
>
>Now my problem is that I just get the file name displayed on the report, not the image being displayed. I have used this code:
>
>
CREATE CURSOR c_Logo;
>(gImage G)
>APPEND BLANK
>APPEND GENERAL gImage FROM (oAppInfo.Logo) CLASS mspaint
>
>oAppInfo.Logo contains the fullpath to the logo file.
>
>I believe I have seen this problem discussed before and it has to do with file associations, but no matter what I associate the JPG extension with I just get the file name displayed.
>
>Any ideas how to fix this?
>
>Thanks,
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform