|
-
Mar 31st, 2000, 07:36 AM
#1
Thread Starter
Frenzied Member
Can I write my own graphic and MAKE it a command button?
I know that I can just write a graphic and place a click procedure on it for precisely the same result, but what I want to know is if the command button can break out of its traditional rectangle and become other shapes (such as circles). Any ideas?
P.S. This is the most active Forum on the internet!
-
Mar 31st, 2000, 09:40 AM
#2
Addicted Member
Regions
Well it is possible to change the shape..known as a region to any polygon you want...but i dont know if that is what you were looking for if it is...reply and ill see if i can explain
Cbomb
Techie 
-
Mar 31st, 2000, 10:01 AM
#3
Hyperactive Member
Make 2 graphics
I think that you may want to make two graphics, and place one over the other. When the user clicks on it, make it invisible, so the second pops up showing the clicking effect. At the second click (ie in the click event of the second graphic), make the first visible again.
Got it?
[Edited by Juan Carlos Rey on 03-31-2000 at 10:02 PM]
-
Mar 31st, 2000, 10:49 AM
#4
Fanatic Member
Its a good idea what carlos said. But if i were you, id put alot of graphix into a listbox, and then just choose out of there on the mouse down, up, click, move or whatever event.
-
Mar 31st, 2000, 11:42 AM
#5
New Member
Shaped Controls
Hi
You could take a look at the code used in VB Shaped Form Creator and modify it to your purpose. The program manipulates polygons.
http://www.comports.com/AlexV/VBSFC.html
Dave
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
|