Mar 22nd, 2003, 02:44 PM
#1
Thread Starter
Sleep mode
VB - Coloured Buttons
Attached Files
Mar 22nd, 2003, 02:59 PM
#2
The picture isn't missing
just to note that the module in this entry was taken from vbthunder.com
http://www.vbthunder.com/default.asp?srcget=1
Remember, if someone's post was not helpful, you can always rate their post negatively
.
Mar 22nd, 2003, 03:02 PM
#3
Thread Starter
Sleep mode
That's right . Thanks
Mar 22nd, 2003, 06:35 PM
#4
Decent, but what's wrong with using a checkbox? Set the Style to Graphical, and add this to the code...
VB Code:
Private Sub Check1_Click()
Check1.Value = vbUnchecked
End Sub
And you have the BackColor and ForeColor properties available by default. Among the few things you lose are the Default and Cancel properties, though.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
Mar 22nd, 2003, 09:52 PM
#5
Thread Starter
Sleep mode
Sounds unusual !! We don't used to have Checkbox as Commandbutton but it does the job perfectly !
Mar 25th, 2003, 02:00 PM
#6
Member
check ummm
Tried that once but I didnt like the final result. The code in the checkboxs ( i made into buttons) when tabbed on to the code would automatically execute without clicking having to click the checkbox. The checkbox is easy maybe for one or two buttons but if you need more than that I would highly suggest Pirate and Buggy's approach
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