|
-
Nov 21st, 2000, 01:37 PM
#1
Thread Starter
Junior Member
hello!
Is it possible to change the backcolour of a command button if it doesn't have the focus?
Thanks
-
Nov 21st, 2000, 01:39 PM
#2
Member
i believe so
I'm no expert or anything, but try like
Private Sub Command2_Click()
Command1.BackColor = vbRed
Command1.Style = 0
End Sub
If that's what ya mean.
-
Nov 21st, 2000, 01:41 PM
#3
Set the Command's Style to Graphical and you will be able to change the backcolor.
-
Nov 21st, 2000, 01:42 PM
#4
Member
Didn't I do that?
Didn't I do that in the
Command1.Style = 0
????????
lol
-
Nov 21st, 2000, 01:45 PM
#5
I don't think it can be set during Runtime. Plus, you must be a faster typer than me because I didn't see your post when I replied .
-
Nov 21st, 2000, 01:52 PM
#6
Member
Aaaah (bows to matthew). You are correct. You cannot set it at runtime. I didn't know it though cause I always set it as soon as I add the control. Heh
-
Nov 21st, 2000, 01:56 PM
#7
Ah...right as always .
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
|