Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid flicker when changing pictures in image con
Message
From
18/07/2010 05:57:58
 
 
To
16/07/2010 23:51:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01472113
Message ID:
01472845
Views:
58
>>Lim Teck Soon ,
>>
>>>Why didn't you suggest your ImageXML Builder, the idea "Embed Your Images" as you have it on your blog.
>>>I learn a great deal from that and has actually put it into practice... see the image of my small utility just to do that.
>>>
>>>Let me take this opportunity to say Thank You!
>>
>>Is this builder much more superior than just plain old using BMP files?
>>
>>Any links you can provide as fundamentals to learning this? Thanks!
>>
>>Dennis
>
>Dennis
>
>He is talking about this technique:
>
>http://weblogs.foxite.com/bernardbout/archive/2007/02/18/3320.aspx
>
>and also used here:
>
>http://weblogs.foxite.com/bernardbout/archive/2007/07/15/4366.aspx
>
>Bernard

Hi Bernard,

Great sample codes.
I would like to report to you that in your codes, there is one line reads:
cPixContents = STREXTRACT(cPixStr,[<picture>],[</picture>],nPix)
where I often find STREXTRACT fail (under VFP9+SP3) if the extraction is big!!!
I have solved it by:
nPos1 = AT([<_picture_>], cPixStr, nPix) + 11
nPos2 = AT([</_picture_>], cPixStr, nPix) - 1
cPixContents = SUBSTR(cPixStr, nPos1, nPos2 - nPos1 + 1)
Previous
Reply
Map
View

Click here to load this message in the networking platform