|
-
Aug 19th, 2021, 08:49 AM
#1
Addicted Member
Re: [RESOLVED] picturebox upsidedown-gradient
Multicolor gradient (any no. of colors, as such) or at least a Rainbow gradient (7 colors) possible using VB6, in a PictureBox?
I did search for quite a time in the net and also in our forum but I am somehow not able to find any code to achieve my above wish. Sorry if I missed out a code in our forum which can do the above though I searched reasonably well with very many different kinds of search texts on gradients.
I did see GradientFill API suggested by LaVolpe and I am able to achieve 2-color gradient easily in PictureBox. May be I have to work on myself to extend it by logic to 7 or multicolors? If so, I am not that much an expert. Neither do I have time to explore on it further. So, if somebody can kindly provide me with a code through which I can achieve multicolor gradient or at least upto 7 colors gradient in a PictureBox (both top to bottom and bottom to top; if radial is also possible then that would be a bonus), then I would remain grateful to him/her.
Kind Regards.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|