By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,164 Members | 1,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,164 IT Pros & Developers. It's quick & easy.

Lebans tooltip class on continuous

P: n/a
Hi All,

I have been using Stephen Lebans tooltip class on my forms and I very
happy with the results, just one question.

Is it possible to use the tooltip class on a continuous sub form to
show a tooltip for the record that the users mouse is hovering over. I
have tried using the on current event for the subform but I can only
get it to show me a tooltip for the first record in the list.

The code I have:

Private Sub Form_Load()
Set TTip = New clsToolTip

With TTip
Call .Create(Me)
.DelayTime = 5000
.SetToolTipTitle "More Info", 0
.ForeColor = vbBlue
.BackColor = RGB(192, 192, 192)
End With
End Sub

Private Sub Form_Current()
If Not TTip Is Nothing Then
With TTip
.SetToolText Me.Box38, Me.[Pictures]
End With

End If
End Sub


Nov 28 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
The ONCurrent event is as the record selector changes records, NOT
where the mouse is.

Nov 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.