Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I don't want TILE effect on my Picture
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00503869
Message ID:
00503879
Vues:
25
y not do this
With _Screen.MyBackground

*same old code here

.stretch = 2
.visible = .t.
.refresh
EndWith
It worked for me ..


>Well, that stopped the tiling affect. But I can't get it to stretch. I've tried all 3 values of the stretch property, no go.
>
>I don't want to have to do this in a form. Any suggestions on what I should check.
>
>
>Thanks
>Elgin
>
>>Wel u can actually put a image object on the screen and set it's width and height property do the screen size and set tthe top and left property to 0 ,0
>>
>>Here's a rought example
>>
>>
>>_Screen.addobject("MyBackground","IMAGE")
>>With _Screen.MyBackground
>>.top = 0
>>.left = 0
>>.width = .parent.width
>>.height = .parent.height
>>.picture = "MyBackground.JPG" && just any picture file
>>.stretch = 2 && fit the whole image
>>.visible = .t. && show it on screen
>>EndWith
>>
>>
>>
>>Hope this helps ..
>>
>>N-Joy !
Regards
Hiten K M

( The best and the worst are yet to come .. keep coding ! )

My Resume >>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform