download the jewelbutton.ocx in the internet...that is the component that u wanted....
then after downloading, add it to your components in vb6.0
Of course, you could just do it yourself by watching the MouseMove event. Turn on the "glow" when the mouse moves over the button, turn it off as soon as you detect the mouse outside of the button.
Of course, you could just do it yourself by watching the MouseMove event. Turn on the "glow" when the mouse moves over the button, turn it off as soon as you detect the mouse outside of the button.
but isnt it that buttons in VB6 are not that graphical.. what i mean is that they are colored gray.. it is like buttons from windows 98... i think wat he want is to have buttons the same as windows XP does...
if it is posible in VB6 to accomplish it thru code, could u show me how?
Thanks. I was thinking of suggesting that, but couldn't remember where it was. Duh! It's not even a week since I put it in the Articles area, and already I forgot it was there. :(
I should point out that while I edited the post about using manifest when I copied it to the articles area, I haven't tried out the idea. I'll be curious to find out a bit more about it.
Correction to an earlier post in this thread. You can change the look of a button in VB6 if you first set the Style property to "1 - Graphical". Then you can change the colour, the picture normally displayed, and the picture displayed while the button is "down".
Note, it looks as though Style can only be set at design time.
Here's a little sample. Just add this frm file to a new project. (Don't forget to set it as the startup object).
The reason for the "If ... End If" logic is that the original code, which just set the colour every time the event was triggered, made the button flicker in a bit of an ugly way.
Here's a little sample. Just add this frm file to a new project. (Don't forget to set it as the startup object).
The reason for the "If ... End If" logic is that the original code, which just set the colour every time the event was triggered, made the button flicker in a bit of an ugly way.
Killer what is this this ll not sute you this is like kiddy.
Comment