Toggle Button Display?

T

Ty Archer

Hi, Is there a way for the toggle button to display "yes" when it is pressed?
Thanks very much.
 
F

fredg

Hi, Is there a way for the toggle button to display "yes" when it is pressed?
Thanks very much.


Set the Toggle button's Caption to No.

Code the Toggle button's Click event:

If Me.ToggleName.Caption = "No" Then
Me.ToggleName.Caption = "Yes"
Else
Me.ToggleName.Caption = "No"
End If
 
Top