Lebans tooltip class on continuous

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nathan Woodrow

    #1

    Lebans tooltip class on continuous

    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

    Me.Plan_Map_No. SetFocus
    With TTip
    Call .Create(Me)
    .DelayTime = 5000
    .SetToolTipTitl e "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

    Thanks
    Nathan

  • Ron2006

    #2
    Re: Lebans tooltip class on continuous

    The ONCurrent event is as the record selector changes records, NOT
    where the mouse is.


    Ron

    Comment

    Working...