Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two images on a form
Message
From
28/04/2010 04:49:52
 
 
To
28/04/2010 00:43:03
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
Application:
Desktop
Miscellaneous
Thread ID:
01461791
Message ID:
01462312
Views:
46
Hi Bernard,

thanks for that info. I will give Cesars code a try as soon I get the time for some serious testing.
The batch functionality of his PRG is exactly what I need to convert my bmps and remove the msks.

>>Hi Borislav,
>>
>>autotransparency is working, just as you said it would.
>>
>>However, there will still be lots of msk files in my apps because otherwise I would have to change all bitmaps to lightgrey where the transperency is not wanted. Have a look at the attached bmp and you'll see what I mean.. :-)
>>
>>
>
>
>Not really. The transparent colour in VFP is White RGB(255,255,255) and then only when you set the BackStyle = Transparent property
>of the image control.
>
>The way to do it is to paint your images with non white on areas you DO NOT WANT TRANSPARENT BUT WANT TO RETAIN WHITE - RGB(254,254,254) will do and you will not be able to tell the difference between this and pure white RGB(255,255,255).
>
>
>You can either paint each image individually using a Paint program or go to
>
>http://weblogs.foxite.com/vfpimaging/archive/2008/12/15/7441.aspx
>
>where Cesar has code that will do your images in a batch, quickly. All you need is his code and the GDI+X classes on VFPX.
>
>There is no need for masks anymore.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Reply
Map
View

Click here to load this message in the networking platform