Results 1 to 2 of 2

Thread: ControlTip Text

  1. #1
    Join Date
    Sep 2003
    Location
    Hertfordshire, England
    Posts
    78

    Unanswered: ControlTip Text

    Is it possible to get the value of a combo box column to show in the controltip text when a user hovers over the combo?

    Everytime I try with code like =CboList.Column(3) it just displays that rather than the value.

    Neil.

  2. #2
    Join Date
    May 2008
    Location
    Raleigh, NC
    Posts
    151

    Try this....

    Add the following code to the form;

    Private Sub Combo0_Change()
    Me.Combo0.ControlTipText = Nz(Me.Combo0.Value, "TBD")
    End Sub

    Private Sub Form_Current()
    Me.Combo0.ControlTipText = Nz(Me.Combo0.Value, "TBD")
    End Sub

    When the form first loads and you hover over the combo it will display 'TBD'.
    The code will display whatever the bound column of the combo box is once something has been selected.

    :-)Stu
    --If its free, take it for what its worth!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •