PDA

Click to See Complete Forum and Search --> : How to create a round button???


Harry
Jan 8th, 2000, 07:47 AM
Does anyone know how to create a round button. I'm sort of tired of using rectangular shape button. Thanks!

mhayenga
Jan 8th, 2000, 11:59 AM
I don't know how to get Visual Basic to do it directly, but you could use an picturebox with the shape of a circle and just set the click, mouse down, and other properties to make it act like a regular button..

------------------
Mitchell Hayenga
mitch@hayenga.com

Phobic
Jan 8th, 2000, 01:07 PM
I can't really help you out codewise because I'm not at my computer, but you could look into the API calls that deal with regions, and you could use the calls to set a certain area, and then the other that figures out if a coordinate is within that region. I think you can look into regions by looking into how to create odd-shaped forms. Hope that helps!