Creating own buttons
Posted on 2002-05-23
I am in the middle of making a slot machine and I have realized that I want to make some round or oval buttons. I want to make them myself without using a third party ocx control. So far I put a picturebox on a form and have used the following code to make a circle
Private Sub Form_Load()
Picture1.AutoRedraw = True
Picture1.DrawWidth = 26
Picture1.PSet (200, 200), vbBlue
Now I need to get my program to somehow detect when only the blue circle in the picturebox has been clicked and not the other parts of the picturebox. Is this possible? or is there a better and easier solution.
Any help would be gratefully accepted...