|
-
Mar 31st, 2001, 11:02 PM
#1
Thread Starter
Addicted Member
I can do alot of things in VB but one thing that has evaded me is how to change the color of the text on the buttons. I need to figure out how to do it for the program i'm writing (a periodic table), and i just cant figure out how to do it.
Thanks,
Kalicki
-
Mar 31st, 2001, 11:21 PM
#2
add components:
Use the Microsoft Forms 2 controls (i think that was it)
it has a command button that the text color can be changed on.
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Mar 31st, 2001, 11:57 PM
#3
Or use a Checkbox, set the Style to Graphical.
And since it stays checked, just uncheck it.
Code:
Private Sub Check1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Check1.Value = vbUnchecked
End Sub
-
Apr 1st, 2001, 12:18 AM
#4
Thread Starter
Addicted Member
i tried geoff_xrx's solution and it worked
Thanks to both of you,
Kalicki
-
Apr 1st, 2001, 12:01 PM
#5
There is also a button shipped with Sheridan 3D controls that lets you do this.
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
|