hello!
Is it possible to change the backcolour of a command button if it doesn't have the focus?
Thanks
Printable View
hello!
Is it possible to change the backcolour of a command button if it doesn't have the focus?
Thanks
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.
Set the Command's Style to Graphical and you will be able to change the backcolor.
Didn't I do that in the
Command1.Style = 0
????????
lol
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 :rolleyes:.
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
Ah...right as always :rolleyes:.