Hello all,
Is it possible to use a toggle button to change the colour of a label?
I assume the code should be something like this:
But I've tried it in the "On Click" sections and it doesn't work.
Thanks in advance
Is it possible to use a toggle button to change the colour of a label?
I assume the code should be something like this:
Code:
If Me.ToggleButton = 1 Then
Label.BackColor = RGB(0, 255, 0)
ElseIf Me.ToggleButton = 0 Then
Label.BackColor = RGB(255, 255, 255)
End If
But I've tried it in the "On Click" sections and it doesn't work.
Thanks in advance