Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gradient colors
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01027128
Message ID:
01027505
Views:
9
Got it.

>>Malcom
>>
>>Although I was trying to work out a similar example, I'm not sure you can create a 1 pixel wide bitmap and make it a gradient one, since a pixel can mostly only hold one color. I was able to workin out a sample that does that, but it uses GDI+ to draw the picture on the form), I was also working on rotating the image and drag and drop to move the picture around, and actually if I try hard enough and change the zorder of the shape on the form, and stick it slightly over the command button, the picture actually appears behind the button, without worrying about XP themes or not. Here is the code (sorry it's a little long- but it might help understanding GDI+). The sample is only code and not picture. Its up to you to create a gradient bitmap (the one I used was 600x600)
>
>
>Mike,
>
>He meant one pixel wide or tall, for example "1 pixel wide x the form height" or "the form width x 1 pixel tall", so each pixel from this "line" would have the gradient color
Previous
Reply
Map
View

Click here to load this message in the networking platform