Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image Control
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Image Control
Miscellaneous
Thread ID:
00703811
Message ID:
00703811
Views:
40
I have placed an Image control on a Form, and its working fine.

I allow the user to set the Stretch property in a setup screen. However, Stretch exhibits unusual behavior once it is set to 0. When I change Stretch from Stretch = 1 to Stretch = 2 or vice versa - there is no problem (the image is resized as needed). But, once I change to Stretch = 0, changing Stretch back to 1 or 2 makes no difference (the Image is not changed). I am using code like:
* DefaultSvStretch either contains 0, 1, or 2.
THISFORM.ImgVisual.stretch = THISFORM.Oapp.defaultsvstretch
THISFORM.ImgVisual.Picture = m.cSvPathFld
THISFORM.ImgVisual.Visible = .T.
Any thoughts on why it has this behavior when set to 0 is appreciated.

Mel Cummings
Next
Reply
Map
View

Click here to load this message in the networking platform