Important alert: (current site time 7/16/2013 2:51:03 AM EDT)
 

winzip icon

isButton 3.0 With Multiple Visual Styles, and more features. Updated: 2004-sep-15

Email
Submitted on: 9/8/2004 2:27:30 AM
By: Fred.cpp  
Level: Intermediate
User Rating: By 116 Users
Compatibility: VB 6.0
Views: 46711
author picture
(About the author)
 
     Do you want to change the style of your boring command buttons? try this cuztomizable button, drawn by code, baloon tooltips, 10 Visual Styles( winXP, Office XP, Mac OSX and more!), customizable caption and icon align and more! See screenshot. Also Includes a very creative way to show a about box Without add a extra form (using some api calls). The button is a single file control, without more dependences than VB Itself. uses Paul Caton Self subclasser: ' http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=54117&lngWId=1 Feedback Is highly apreciated. I'm working on the MacOSX style, since I need a faster way to draw It. Please coment. also, votes are wellcome. I've made a page for the control: http://www.geocities.com/isbutton3/ Update Includes lot of fixes and Checkbox behavior and Value property. If you want a Multy style ComboBox try SComboBox ( http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=56157 ) Regards and Have fun

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :isButton 3.0 With Multiple Visual Styles, and more features. Updated: 2004-sep-15
'**************************************
tons
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 11 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
9/8/2004 2:38:11 AMFred.cpp

Please give some feedback/comments/votes/bug reports or whatever you want.
(If this comment was disrespectful, please report it.)

 
9/8/2004 2:38:51 AMFred.cpp

looks like downloads are back =)
(If this comment was disrespectful, please report it.)

 
9/8/2004 4:10:57 AMPhantom Man

Hi Fred

Excellent Control.
Nothing More To Be Said.

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

 
9/8/2004 4:17:59 AMRobert Rayment

Out of my league - but beautiful result *****
(If this comment was disrespectful, please report it.)

 
9/8/2004 4:49:27 AMLight Templer

Hi Fred,

a fine control, great job and lot of work! Finally a button without a bas and without bitmaps! My ***** for it.

Some comments:
* To get VB5 compatibility you have to change 3 line (enums and nested types in udts must be public and the debug statement in Pauls subclasser must be commented out).

* You can speedup things (and shorten your code lines) with using the 'With' ... 'End With' statement, e.g. 'With UserControl' ...

* You have very less comments in subs/functions. Hard to make any changes in drawings even for you in a few month ;) ...

* The behavior when leaving the button with pressed left mouse button is wrong: A common windows button releases the 'pressed' state, your button not.

* A detail: No property descriptions in VBs control property list. (An Object Browser job)

... continued ...

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

 
9/8/2004 4:49:50 AMLight Templer

...

* You use an old version of Pauls subclasser. e.g.: In your Sub UserControl_Terminate() the 'If Ambient.UserMode Then' leads always to an error - the 'Call Subclass_StopAll' is never executed ...

* Run with an utility like MZ Tools or any other Xref tool over your code: You have 178 enums, consts, vars, subs and funcs which are never used ;)

Okay ;) - enough comments ;)

Here are my gratulations and my regards

LiTe

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

 
9/8/2004 6:14:46 AMFarolfo

Very good control, only a problem, font can't set
(If this comment was disrespectful, please report it.)

 
9/8/2004 7:04:47 AMxIntegrated Development Group

i cant download it for some reason (error says "network path not found"), can someone email me the code, please?

xdg_dev@msn.com
(If this comment was disrespectful, please report it.)

 
9/8/2004 7:06:57 AMxIntegrated Development Group

n/m, i got it to work, thanks, and GREAT JOB fred.cpp
(If this comment was disrespectful, please report it.)

 
9/8/2004 7:47:29 AMMichael Kappe

Good job, anything else is already said. (4)
(If this comment was disrespectful, please report it.)

 
9/8/2004 8:08:18 AMFred.cpp

wow, lot of comments. thanks to every one.
About the suggestions, thanks, I'm already working on It. about the few comments I'm sorry, I bet I forgot the AddRoutineDescription Method before post:P I'll add them as soon as posible. and sorry about the font property, I was sure I had added. I'll fix that.
Regards and thanks for the votes.
(If this comment was disrespectful, please report it.)

 
9/8/2004 9:17:16 AMGandolf_The_GUI

Fred - Awesome code. Thanks for the E-Mail. I will definately use this control over Chameleon Button (although that ctl rules too). Just a few things I noticed:

1) ToolTipType: Unable to be set from IDE in Properties Pane

2) ToolTipText: Seems to reset after each run

3) Icon/Text Alignment should take into account any border(s) that may be created depending on the button style selected / MouseOver State. Plastik should move the top alignment down 30 twips or so and the bottom alignment up about the same amount. This would provide some padding (The same could be said about the Keramik stlye with the left and right align values). As it is now, The icons nearly touch the border(s)
(If this comment was disrespectful, please report it.)

 
9/8/2004 9:22:40 AMFred.cpp

Thanks Gandolf. Working on that.
I was noticed the reset on the tooltips but It's hard to mantain more than 3000 lines of code in a single file:P
Wait for the update =)
(If this comment was disrespectful, please report it.)

 
9/8/2004 1:29:13 PMHeriberto Mantilla Santamaría

Hi fred, my most sincere congratulations for this work of art.

I wait people it contributes ideas and not single critics.

Saludos a México.
(If this comment was disrespectful, please report it.)

 
9/8/2004 4:00:23 PM_Merlin_

Looks pretty impressive.
I sure am going to give this a try. Currently I'm using the LaVolpe button in my apps.
I'l be bach... to give you a vote after testing ;)

Merlin is the name, and logic is my game...
(If this comment was disrespectful, please report it.)

 
9/8/2004 4:28:05 PMJoerg Hohaus

Fred, another contest winner i think, congratulations. 5 globes, of course. anything else said above.
Once upon a time i will be able to create something like this... in another life..
(If this comment was disrespectful, please report it.)

 
9/8/2004 6:54:30 PMRay Hildenbrand

fred thank you for the control, and light, dude thanks for the tip on mz tools. a super add-in. 5 globules
(If this comment was disrespectful, please report it.)

 
9/8/2004 8:42:50 PMJuan Carlos Pazos

Excellent.

Go to win the code contest. Congratulations.
(If this comment was disrespectful, please report it.)

 
9/8/2004 9:02:35 PMFred.cpp

wow thanks for all the coments and suggestions. I'm working on the update.
(If this comment was disrespectful, please report it.)

 
9/8/2004 9:47:12 PMPaul Turcksin

Great stuff. For more detailed feedback, I'll have to try it out in an application. In the mean time 5 from me.

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

 
9/8/2004 9:50:03 PMKenneth Foster

Outstanding.Waiting for update.5 globes from Texas.
(If this comment was disrespectful, please report it.)

 
9/8/2004 11:44:12 PMFred.cpp

20 votes in 24 hours =D thanks to every one for the support. I'll kade all the improvements have been sugested. Thanks again=)
(If this comment was disrespectful, please report it.)

 
9/9/2004 1:40:15 AMPeter.

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

 
9/9/2004 6:33:12 AMAnders Nissen

Completely amazing! So much hard work squeezed into such a compact easy-to-use package - and the result is fantastic! I give you a handfull of globes for sharing
(If this comment was disrespectful, please report it.)

 
9/9/2004 7:27:15 AMMr_Grump

Just wanted to say thanks for a super button. Looking forward to updates...
(If this comment was disrespectful, please report it.)

 
9/9/2004 11:01:37 AM

This is perfect !
Great job !!
Please add functionality to change font.
Five globes *****
(If this comment was disrespectful, please report it.)

 
9/9/2004 3:00:39 PM

Awesome control! Only suggestion: how about a gradiant option? Peace.
(If this comment was disrespectful, please report it.)

 
9/9/2004 3:06:25 PMCurt

Superb! Go Fred, go Fred, go Fred. Pouring on 5 more O's for you!
(If this comment was disrespectful, please report it.)

 
9/9/2004 3:17:18 PMAlain GUERIN

Fred,
You are the king ! 5 globes in a minimum, thanks for sharing
(If this comment was disrespectful, please report it.)

 
9/9/2004 4:13:39 PM

Excelent work Fred.
Here goes 5 globes.. OOOOO
(If this comment was disrespectful, please report it.)

 
9/9/2004 7:25:29 PMMArio Flores G

I haven't look at the code at the moment
but the screenshot looks good!..seems like you got on top of the coding contest very quickly, it must be a great control !!. BTW seems like the control is getting better since the last version.
(If this comment was disrespectful, please report it.)

 
9/9/2004 9:42:24 PMJuan Carlos Pazos

Hello

I have an application that uses the Left and Right functions. When I insert your buttom some problems occur.

I rename your align functions to isbRight, and same for others and all works fine.

I don't know if could cause some problema but works for me, and may be this is usefull for you.

Thanks, also from Mexico.

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

 
9/9/2004 9:54:55 PMHeriberto Mantilla Santamaría

wow, Wonderful the support in votes that people him this giving to this spectacular control, follow this way boys because of that it is.

/**************************************\

Fred la gente se está portando muy bien y me alegra por ti, pues mereces ganar con este control por encima de cualquier otro como
(If this comment was disrespectful, please report it.)

 
9/10/2004 5:04:56 AM[rm_code]

Very nice control, Fred.
Especially the Mac button rocks :)
Had some problems with redrawing first(grey corners), but refreshing worked.
(If this comment was disrespectful, please report it.)

 
9/10/2004 6:57:08 AMPaul Caton

Nice one Fred... I'm naturaly obligated to vote you a 5'er - no worries though, it's well worth it. Lite's comment about the Subclasser_StopAll is correct... I've tried a couple of times to update my submission without success, I'll try again. If not I'll email the change to you directly.
(If this comment was disrespectful, please report it.)

 
9/10/2004 9:35:28 AMBroken Arrow

50 *s man. haven't seen like this for many days after the Chameleon button and LaVolpe stuffs!
(If this comment was disrespectful, please report it.)

 
9/10/2004 4:18:07 PMFred.cpp

thanks to everyone for the comments.
mr. code: I know, I've fixed that bug.
Paul: This control is possible thank to your work, you deserve 3 of those 5 balls.
Broken Arrow, thanks, this control was under development when chameleon button came out, but I was a pure newbie on those days and I gave up.... for a while...
(If this comment was disrespectful, please report it.)

 
9/10/2004 5:48:32 PMKhaled Agwa

Here go my five rounded things,You deserve it,Good luck and Happy Coding
(If this comment was disrespectful, please report it.)

 
9/11/2004 5:46:22 AMLaszlo Kozari

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

 
9/12/2004 9:22:25 AMDavid Bugeja

Sry about the comment :| my mistake. Great Control and very useful and bug free. thank you fred. can i use this control in any of my software?
(If this comment was disrespectful, please report it.)

 
9/12/2004 4:01:14 PMFred.cpp

sure! you can use It as you want. a wish is to get a small screenshot to publish It on the page ( www.geocities.com/isbutton3 )
(If this comment was disrespectful, please report it.)

 
9/13/2004 12:27:49 AMMArio Flores G

Great Job. I just checked the code as I see on your feedbacks there are more coders from Mexico that I use to know... It’s a good thing knowing that there are talented people on this side ;)
(If this comment was disrespectful, please report it.)

 
9/13/2004 10:33:07 AMStephen Coleman

You can't use left$ with your control. Drop this in your code.
Debug.Print Left$("aaaaaa", 3)
(If this comment was disrespectful, please report it.)

 
9/13/2004 1:13:56 PMFred.cpp

Stephen: yes! I know. I've fixed that, but I have not yet updated the code. hold on :-S
(If this comment was disrespectful, please report it.)

 
9/13/2004 7:24:45 PMHeriberto Mantilla Santamaría

Hi fred, your control works to the marvels, I am awaiting a new upgrade.
(If this comment was disrespectful, please report it.)

 
9/15/2004 4:03:39 AMFred.cpp

updated, sorry for the huge delay. Added CheckBox Mode and Value property, also sffsets for some visual Styles as requested. Right and left ( and all others) renamed.
Have fun!
(If this comment was disrespectful, please report it.)

 
9/15/2004 4:09:30 AMFred.cpp

Viva México Ca******!!!! =)
(If this comment was disrespectful, please report it.)

 
9/15/2004 4:44:27 AM_Merlin_

Nice update for a nice button.
5 G's from me!

Merlin is the name, and logic is my game...
(If this comment was disrespectful, please report it.)

 
9/15/2004 3:24:04 PMGandolf_The_GUI

Excellent. Most of the updates I asked for were implemented beautifully. You're the man. Would vote again if I could.
(If this comment was disrespectful, please report it.)

 
9/15/2004 7:45:11 PMCodeFester

It will take me awhile to fully eval this one. But she looks GREAT! Thanks for sharing this nice work. 5 nuts from me.
(If this comment was disrespectful, please report it.)

 
9/15/2004 9:38:09 PMHeriberto Mantilla Santamaría

The new version is more comfortable and more functional.
(If this comment was disrespectful, please report it.)

 
9/15/2004 9:40:24 PMHeriberto Mantilla Santamaría

fred

I forgot to thanks for the promo.
(If this comment was disrespectful, please report it.)

 
9/16/2004 9:34:10 AMAlT

Looking at the code, this was obviously an intensive effort in drawing pixel by pixel, line by line. Certainly worthy of COTM. Hope you get it. This was an excellent effort and proof that if you are going to draw your own controls, you'd better be prepared to dig in for some heavy coding. This ain't for the timid or lazy. A fin spot to the gentleman from south of the border.
(If this comment was disrespectful, please report it.)

 
9/16/2004 12:31:27 PMAlT

Oh, one more thing...the only thing I see missing is that the button text does not offset when the button is pressed and, as mentioned before, when you press/hold the mouse button and drag your mouse off of the isButton, it should return to its normal state rather than remain in a pressed state. Once again, great job....
(If this comment was disrespectful, please report it.)

 
9/16/2004 12:50:21 PMFred.cpp

ok. I'll fix that. I just forgot It =P
(If this comment was disrespectful, please report it.)

 
9/16/2004 3:36:01 PMStephen Coleman

Good Code *****
Thanks for the Fixes.
(If this comment was disrespectful, please report it.)

 
9/17/2004 10:35:53 AMEvan Toder

Fred definitly deserves 5 on this
I KNOW he worked on this for a long time because he sent me some of what he had done of this back 2 months ago.
I had a good idea he had a winner on his hands
(If this comment was disrespectful, please report it.)

 
9/17/2004 3:58:27 PMFred.cpp

Thanks for the comments to every one. Sorry for the long Time I'm taking to update, I have some problems with my PC And I'm currently Installing again my OS's as soon as I can I'll come back with a new update.
(If this comment was disrespectful, please report it.)

 
9/18/2004 4:27:32 AMThorben Linneweber

you are crazy :) This is really nice! I like the style of coding... It's easy to understand. Great Job and 5 Globes from me.
(If this comment was disrespectful, please report it.)

 
9/18/2004 10:48:57 PMHeriberto Mantilla Santamaría

Hi again fred, I don´t know the about "form" doesn't work well in Win9x, it's not complete the content.

Do you know why?
(If this comment was disrespectful, please report it.)

 
9/19/2004 12:41:25 AMFred.cpp

looks like a Refresh problem. I'll ckeci It Out. thanks for the continuous feedback =)
(If this comment was disrespectful, please report it.)

 
9/20/2004 4:46:26 PM

Very classic work.... nice codes and i am voting for you mate... go for gold!!
(If this comment was disrespectful, please report it.)

 
9/21/2004 5:50:17 AM

Well done... ***** Globes from me!
(If this comment was disrespectful, please report it.)

 
9/22/2004 6:17:45 PMHeriberto Mantilla Santamaría

hi fred:

I found two errors:

Public Property Get ToolTipBackColor () As OLE_COLOR

ToolTipType = m_lttBackColor

'* The correct is: ToolTipBackColor = m_lttBackColor

End Property

m_lToolTipType = PropBag.ReadProperty (" ToolTipType ", TTBalloon)

'* it doesn't show it in the property when one adds the control for the first time.
(If this comment was disrespectful, please report it.)

 
9/22/2004 6:27:51 PMFred.cpp

Ops! Sorry, and thank you Heriberto. I'll fix that, as soon as possible. Also I would like To Include the new Style you sent to me, but I'm out of the game for some days. Anyway I'll come back with a (final?) update and I hope Someone could take the code and keep the work.
(If this comment was disrespectful, please report it.)

 
9/25/2004 11:37:06 PMHeriberto Mantilla Santamaría

No problem fred, for my it would be a honor and appreciation that you value my work.
(If this comment was disrespectful, please report it.)

 
9/26/2004 5:49:14 AMAlaeddin Hallak

honestly this is the best activex button there is on psc and other sites. The great thing about it is has no dependencies like u said. great work i think this is a contest winner
(If this comment was disrespectful, please report it.)

 
9/27/2004 11:26:33 PMHeriberto Mantilla Santamaría

Alaeddin Hallak: You have the whole reason this it's the best button in PSC.
(If this comment was disrespectful, please report it.)

 
9/28/2004 10:51:31 AMAnders Nissen

Bug: You cannot use the mouse buttons to change between buttons as you can with regular command-buttons.
(If this comment was disrespectful, please report it.)

 
9/28/2004 11:30:28 AMAnders Nissen

Bug: If the spacebar is used to click the button in MacOS style, the button is stuck in button-has-focus style.
(If this comment was disrespectful, please report it.)

 
9/28/2004 11:58:20 AMAnders Nissen

Bug: Setting the "Enabled"-property to False only changes the display style, but dosn't really disable the button.
(If this comment was disrespectful, please report it.)

 
9/28/2004 12:42:02 PMAnders Nissen

A question: Does the control work on systems running Windows 98, or are some of the APIs only included in later versions of Windows?
(If this comment was disrespectful, please report it.)

 
9/28/2004 12:46:57 PMFred.cpp

thanks for the bug reports, easy to follow. also, about the question, yes, the control works on Win98SE/Me/2000 and XP
(If this comment was disrespectful, please report it.)

 
9/28/2004 2:33:10 PMAnders Nissen

Thanks for you reply, it's absolutely fantastic that it can be used in Windows 98!
In the first bug-report I wrote "mouse buttons" - what I really ment was "keyboard arrow buttons". My mind most have been elsewhere.

But thanks once again for an awsome user control, and I'll keep you posted with any bugs I discover :)
(If this comment was disrespectful, please report it.)

 
9/28/2004 3:40:55 PMFred.cpp

OK, Now I understand =). yes, arrows don't work, I think I fogot It. but Tab key works.
(If this comment was disrespectful, please report it.)

 
9/29/2004 1:15:43 AMHeriberto Mantilla Santamaría

Hi fred, why you didn't include the properties MouseIcon and MousePointer.
(If this comment was disrespectful, please report it.)

 
9/29/2004 1:50:56 PMFred.cpp

I just forgot It, I was very bussy adding those visual styles and I didn't include basic features like that.
I'm sorry for the delay to the update, I've been out and without an aviable PC
(If this comment was disrespectful, please report it.)

 
9/30/2004 6:35:43 PMJoe Jordan

Great button, the only thing it could use is customizable colors for the MAC OSX style. I'd love to have the checked buttons yellow in that syle!
(If this comment was disrespectful, please report it.)

 
9/30/2004 9:37:12 PMFred.cpp

I'd love to can code that =) Help Is wanted with that =P
(If this comment was disrespectful, please report it.)

 
10/4/2004 11:50:06 PMMichael Rawi

Excellent

I'll give you six globe if exist :D
(If this comment was disrespectful, please report it.)

 
10/5/2004 4:45:41 AMAlin Haidau

Nice control. Very nice! But can you make this button have a drop-down component, I dont know like the one in the Open/Save Dialog from Office2000. I've been searching for such a button for a veryyyy long time, and found none.
Thanks!
(If this comment was disrespectful, please report it.)

 
10/7/2004 7:55:40 PM

It looks very nice, i'am sure that i'll use it in my applications instead of Chameleon button. Thank for sharing.
(If this comment was disrespectful, please report it.)

 
10/11/2004 6:29:39 AMDaniel W Elkins

Makes my "Custom Button" look like newb work...great control, never need to look around for another button again. :)
(If this comment was disrespectful, please report it.)

 
10/11/2004 2:35:41 PMCurtW

Fred - where is the 3.1 update you made? D/L here is the 3.0 code. Thanks!
(If this comment was disrespectful, please report it.)

 
10/11/2004 3:25:46 PMFred.cpp

hi everyone. I was thoug this was my final update forthis code, since I still have bugfixes and some annoying not working funtions I fixed almot everything and made the compiled ocx, because I've recibed lot of requests for IT. Source code is still messed up, I wouldn't release It at this moment. but hopefully I'll do It soon, as soon as I can add some other features (and styles) also I'm planning to made some optimizations for the Mac OSX style but I can't promise nothing, I almost have no free time for now, I'm sorry. If someone wants the messed up code, I can send It by e-mail
best regards and again thanks for make this control a coding contest winner =)
(If this comment was disrespectful, please report it.)

 
10/21/2004 3:28:38 PMAnders Nissen

There's something fishy about the tool-tip text. I can't get it working properly in the IDE (it resets) and when setting the tooltip properties with code it works great, but dosn't work when compiled... Is there some trick to making this work?
(If this comment was disrespectful, please report it.)

 
10/22/2004 10:56:01 AMkerplunk_boy

Hey! Can be usefull! Five Globes!

BTW Users that vote: If you don't like it, simple don't vote. It's really upset when you check a 1 globe vote... makes your self esteem just fall...
(If this comment was disrespectful, please report it.)

 
10/22/2004 10:57:27 AMkerplunk_boy

Para o autor: Se és realmente português entenderás perfeitamente isto: Parabéns(congratulações) de um amigo Brasileiro.
(If this comment was disrespectful, please report it.)

 
10/22/2004 11:41:20 AMBroken Arrow

i would have posted 500 globes if i could...
(If this comment was disrespectful, please report it.)

 
10/22/2004 3:20:33 PMCarlos

5 globes for sure! Great work!
Could you make an OCX file from the control?
Are you intend to add the alternative to use Windows XP alike icons (alpha)?
(If this comment was disrespectful, please report it.)

 
10/22/2004 3:26:00 PMFred.cpp

hi To everyone!
Sorry about the bugs, I'll post the new code, as soon as I can. the Ocx version is in the page: http://www.geocities.com/isbutton3/ about the Icons, I want to, But... hey! I need some time :\ :P
Regards ant thanks for the comments.
(If this comment was disrespectful, please report it.)

 
10/23/2004 12:36:11 AMRob Crombie

In recorded history, there has only been one 'Fred' with proven super powers. That was Fred on Angel.

There is now two.

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

 
10/23/2004 1:30:17 PMFred.cpp

thanks for the kind comments. Sorry If I can't post a update, I'm still out of time; maybe this was my last submission:( Thaks to Everyone!
(If this comment was disrespectful, please report it.)

 
10/29/2004 5:13:33 AMJames...

Hi Fred nice button. Well done 5 balls

Is it possible to get the mouse snap to feature to work with this button?
(If this comment was disrespectful, please report it.)

 
11/1/2004 6:15:08 AMMag software

Control is really excellent, but in Win98, hovering the control put parent form out of focus?!?!
(If this comment was disrespectful, please report it.)

 
11/3/2004 2:51:08 PM

5, excellent !!!
Continue in this way !

Maybe one suggestion :
In "UserControl_ReadProperties", m_sCaption = PropBag.ReadProperty("Caption", "isButton") force to write caption : "isbutton".
For empty caption button, the properties will be : m_sCaption = PropBag.ReadProperty("Caption", "").

Sorry, for my english
(If this comment was disrespectful, please report it.)

 
11/18/2004 11:04:43 PMAbdulkader Bin Walid

bug report.
the isButton1 ToolTipText keeps on going to blank every time i close and reopen a form on which it is on.

to get around it i have done the following

Private Sub Form_Load()

isButton1.ToolTipText = "FfFFFF"

End Sub

if there another solution, please let me know.

and please inform me when their is an update to this code thanks

keep up the good work
(If this comment was disrespectful, please report it.)

 
12/7/2004 6:32:27 AM

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

 
12/10/2004 9:58:55 AMFred.cpp

Download the 3.1 Version
(If this comment was disrespectful, please report it.)

 
1/7/2005 9:00:19 AM

Thanks for sharing this excellent control. No doubts, the best button control on PSC.
(If this comment was disrespectful, please report it.)

 
1/16/2005 2:56:50 PMMike Ulik

Doesn't do multi line buttons!!!!
(If this comment was disrespectful, please report it.)

 
2/16/2005 12:58:03 AMBroken Arrow

put this button on a form and on it's Click event put a msgBox prompt. now run project, get the button into the focus, press , the msg is shown, now close the msgBox & see the button doesn't get up! in the whole process, don't put the mouse pointer on the button for the test.
(If this comment was disrespectful, please report it.)

 
4/1/2005 12:40:32 PMFred.cpp

I'm sorry for the lack of updates, But on these monts I haven't had the oportunity to make any bugfix. I can't promise nothing, But I'll try later.
(If this comment was disrespectful, please report it.)

 
4/11/2005 7:34:35 AM

This is an excellent control, you did a greate job! btw I just found some minor bugs in Mac and galaxy theme. The button is changing color or its apperances when clicked as if it has the focus even if the button was disabled (thou I have fixed it :) ).

It would be perfect if it can also make the icon disabled :)
(If this comment was disrespectful, please report it.)

 
4/13/2005 2:52:54 PMCharu

This is an excellent one. You helped amd and many others from seeing the boring command button. Thanks a million and my Best Wishes to you. :) Great my friend..:)

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

 
4/20/2005 10:00:42 AMCharu

Hi Fred,
Iam trying to use the control here. I have added a Active Control project to my project and made an OCX. Now Iam trying to use the OCX. I haveregistered the OCX and added it in Components/References too. Iam able to draw the button on the form but when I click on it it gives an Application error and VB Closes!. Has any other person faced the same problem?
Thanks.
--
Charu.
(If this comment was disrespectful, please report it.)

 
6/18/2005 2:46:48 AMVincent Ma

The mnemonic key does not seem to work when using the button as a checkbox.
(If this comment was disrespectful, please report it.)

 
6/27/2005 12:47:34 PMFred.cpp

There is a OCX Version on my page, That's the most recent version and has some bugfixes. I'm working on an update.
(If this comment was disrespectful, please report it.)

 
7/26/2005 8:30:34 PMRyan.VB

Absolutely wonderful. I can't say how much I love yo see your always-working controls on PSC
(If this comment was disrespectful, please report it.)

 
3/23/2008 1:42:58 AMHuck Finn

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

 
7/25/2008 6:41:10 AMjuned

When I try to change the background color of the button, nothing happens.
And the button in Mac style works as a checkbox.
It should occupy its original state after we click on it,but it remains blue.
Then also, excellent , thank you very much Fred.CPP.
Tha MAC style is perfect, I've never seen befors.
Thank u again bro........
Regards
Juned Chhipa
(If this comment was disrespectful, please report it.)

 
7/25/2008 6:42:48 AMjuned

Little bit slower, but then also I will give you 5*, so now with my vote your total becomes 114. Great
(If this comment was disrespectful, please report it.)

 
7/25/2008 7:51:44 AMbrian hf

Neat. Clean.
Take a good care of the five balls that I gave you :D
(If this comment was disrespectful, please report it.)

 
2/3/2010 4:02:23 AMMark

In the CTL there is some critical BUG which generates an error (OUT OF MEMORY) if couple of forms with the buttons are open.
(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.