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:
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