Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for colorful icons
Message
From
10/02/2005 08:57:54
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
10/02/2005 01:12:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00984216
Message ID:
00985529
Views:
38
Hi
Is simple

If you add this code in Load event, pointing to each picture used in buttons, transparency is showed correctly because caching I suppose.
Sample
_screen.AddObject('image','image')
_screen.image.picture = "1downarrow.png"
You can do even better, by adding a property to your form base class, consisting in a comma delimited list of PNGs (without paths), parse and assign each picture to an image control in Load event.
You will need many image controls, one for each picture used on buttons

Is complicated, but true color PNGs with transparency looks very nice compared with BMP/MSK pictures.


>>You can find PNGs used in Linux themes, most of them free.
>>Search for slick,nuvola themes, are cool.
>>
>>But you need to trick VFP to show transparency when used on buttons by loading them in some image control first.
>
>Can you explain a little more how to fool VFP with by loading in an image control?
>
>Thank you.
>
>Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform