Image stretch no longer works
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Image stretch no longer works Expand / Collapse
Author
Message
Posted 4/8/2008 10:33:50 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 2 days ago @ 5:23:48 PM
Posts: 137, Visits: 380
Using EP2 Pro 2.0.1.119, image stretch no longer works for ImageDisplay objects (although it does work for SlideImage sub objects). To be sure, I made a simple demo program in EP1, which stretches .bmps just fine, then when I convert this to EP2 the program no longer stretches the image.

Is this an intentional change, or will this be fixed in an upcoming release? Thanks.

-- David McFarlane, Professional Faultfinder
Post #1461
Posted 4/9/2008 10:36:19 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: 2 days ago @ 8:36:44 AM
Posts: 480, Visits: 1,064
This has been replicated and confirmed that the GUI properties are not being past to the runtime.  Until this can be corrected in a future build, a workaround would be to drop an InLine and set the property via script.  Examples below...

MyImageDisplay.Stretch = True
MyImageDisplay.Stretch = CLogical("Yes")
MyImageDisplay.Stretch = CLogcial(c.GetAttrib("ShouldStretch"))

-Brandon

Post #1468
Posted 4/10/2008 5:03:47 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 2 days ago @ 5:23:48 PM
Posts: 137, Visits: 380
Brandon,

Thanks, that did the trick. I put your first option, with documentation, in an inline called "ImageStretchPatch", all is well.

-- David McFarlane, Professional Faultfinder
Post #1475
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 12:31pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.062. 10 queries. Compression Disabled.