Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center an Image in a report
Message
 
 
À
14/03/2007 16:22:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01203672
Message ID:
01204145
Vues:
9
Check Re: Properties of a Bitmap or JPEG Thread #318732 Message #319179 though I'm not yet sure it's the best way to get picture properties.

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform