Results 1 to 5 of 5

Thread: Can a graphic BE a command button?

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    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!

  2. #2
    Addicted Member Cbomb's Avatar
    Join Date
    Jul 1999
    Posts
    153

    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

  3. #3
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    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]

  4. #4
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547
    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.

  5. #5
    New Member
    Join Date
    Mar 2000
    Location
    Kamloops BC Canada
    Posts
    7

    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
  •  



Click Here to Expand Forum to Full Width