jnrdavo
Programmer
- Jan 8, 2003
- 11
I've been manually changing all the controltiptext's on a form and decided I'd write some code to do it for me.
The code below works, but when I display the properties of a control, it's blank.
Any suggestions?
------------------------
Function fn_TRASH(FRMCURRENT As Form) As Boolean
For Each Ctrl In FRMCURRENT.Controls
If Ctrl.Name > 1 And Ctrl.Name < 27 Then
With Ctrl
Ctrl.ControlTipText = "TEST " & Ctrl.Caption
End With
End If
Next Ctrl
MsgBox "done!"
end function
The code below works, but when I display the properties of a control, it's blank.
Any suggestions?
------------------------
Function fn_TRASH(FRMCURRENT As Form) As Boolean
For Each Ctrl In FRMCURRENT.Controls
If Ctrl.Name > 1 And Ctrl.Name < 27 Then
With Ctrl
Ctrl.ControlTipText = "TEST " & Ctrl.Caption
End With
End If
Next Ctrl
MsgBox "done!"
end function