Making CMD button Caption Bold

  • Thread starter Thread starter cclark
  • Start date Start date
C

cclark

How do I make a command button caption bold when it has focus and not bold
when it loses focus?
 
Private Sub cmdTest_GotFocus()
Me.cmdTest.FontBold = True
End Sub

Private Sub cmdTest_LostFocus()
Me.cmdTest.FontBold = False
End Sub
 
Thank You.

Brendan Reynolds said:
Private Sub cmdTest_GotFocus()
Me.cmdTest.FontBold = True
End Sub

Private Sub cmdTest_LostFocus()
Me.cmdTest.FontBold = False
End Sub
 
Back
Top