thanks for answer,
i've tried it already,
but i get error msg with access 2010,
-
Private Sub Form_Load()
-
-
' Create an instance of our Tooltip class
-
Set TTip = New clsToolTip
-
-
' We must SetFocus to any control that can
-
' accept the focus in order to force Access to
-
' create the inplace editing Window.
-
Me.txtCompanyName.SetFocus
-
-
With TTip
-
' Creat the tooltip window
-
Call .Create(Me)
-
-
' Set the tooltip window to show for 5 secs
-
.DelayTime = 5000
-
-
.SetToolTipTitle "CUSTOM TOOLTIPS", 0
-
the Call .Create(Me) line has the following debug msg:
runtime err 91, object variable or With block variable not set.
however, im working on this:
-
Public Function TT(tDelay As Variant, tDuration As Variant, tText As String, tX As Single, tY As Single)
-
-
If ttLabel.Visible = False Then
-
-
With ttLabel
-
.Visible = True
-
.Caption = tText
-
.Left = tX + 160
-
.Top = tY + 160
-
End With
-
-
-
-
Else
-
End If
-
End Function
-
...but I need some way of turning the tooltip off (after mouse moved away from object, or delay)..
any ideas?