Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image stretch property - runtime editing
Message
From
07/08/2001 11:27:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/08/2001 11:09:22
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00540714
Message ID:
00540737
Views:
16
This message has been marked as the solution to the initial question of the thread.
>If I switch the stretch property of an image from the default 0 to 1 or 2 at runtime, nothing happens to the image. I've tried re-setting the image visible and picture properties and refreshing the form. If the form atarts life with stretch set to 1, a runtime switch to 0 does work. Any clues?

Denis,
Save and restore height, width :
with ThisForm.myImage
 lnHeight = .Height
 lnWidth = .Width
 .Stretch = lnNewValue
 .Height = lnHeight
 .Width = lnWidth
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform