Important alert: (current site time 7/16/2013 3:33:25 AM EDT)
 

winzip icon

Gold Button v1.2

Email
Submitted on: 8/14/2000 8:29:15 AM
By: Night Wolf 
Level: Intermediate
User Rating: By 24 Users
Compatibility: VB 5.0, VB 6.0
Views: 27140
(About the author)
 
     Well folks. Another version of Gold Button is here. I've added a few things. Here they are: Property descriptions, MaskColor, UseMask, Base Address in OCX, picture will now automatically align with text and when you are in desing mode and OnUp property is bsNone, a Dash-Dot-Dot box is drawn over the button, so you can see th button's area. Please vote for me. Thank you all who uses my button. ENJOY :)

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
8/14/2000 11:04:29 AMcoolio guy 4 cool

cool looks like a normal button j/k
i thought it would be real gold and i could sell it for a bunch of money..
too bad...u never get what u want to eh?
(If this comment was disrespectful, please report it.)

 
8/14/2000 11:07:07 AMJohan Olofsson

Hello
Keep up the good work.........
Bye Johan
(If this comment was disrespectful, please report it.)

 
8/14/2000 11:33:35 AMKool Cid

Great Control! Keep posting those updates! You should make the control draw the buttonicon in disabled state automaticly when the Enable property is set to False. (www.vbaccelerator.com has an example on how to do that)
(If this comment was disrespectful, please report it.)

 
8/14/2000 3:03:25 PMPure

Lookin Good there =)

(If this comment was disrespectful, please report it.)

 
8/15/2000 12:07:54 PMEric C. Tomlinson

How about enabling hotkeys...ex. &Close. Otherwise great button and ihttp://www.tribesplayers.comlan to use it in an application I'm creating and I'll be sure to give you credit on the about and Easter Egg. Thanks
(If this comment was disrespectful, please report it.)

 
8/20/2000 7:16:25 AMI n S a N e

This is awesome
i have been looking around for a control simalair to this, thanks, i am going to use this for my button all the time =o]
(If this comment was disrespectful, please report it.)

 
8/20/2000 7:18:22 AMI n S a N e

This is an awesome control
i have looked for something like this for a long time, thanks =o]
and kick a.ss work

(If this comment was disrespectful, please report it.)

 
9/10/2000 12:22:16 PMA. Searle

Been looking for something to liven up my forms for awhile! thanks!
(If this comment was disrespectful, please report it.)

 
9/21/2000 6:12:06 AMRoeland Kluit

It's good! But what if the user does not have a mouse?
(If this comment was disrespectful, please report it.)

 
10/3/2000 1:40:04 AMAdam Davis

I love your button control, I'm using it in my own apps but the ToolTips aren't working!!!
(If this comment was disrespectful, please report it.)

 
11/9/2001 3:12:30 PMgonchuki

When you use SetCapture api, you can't use tooltips. It also happened to me an nothing worked, even i tried a subclassed tooltip but only worked on IDE...
(If this comment was disrespectful, please report it.)

 
4/28/2005 10:09:07 PM

About: "a Dash-Dot-Dot box is drawn over the button" causes a error if you close the form with GoldButton (unload me).
If you tab on the button can't response to spacebar.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.