ControlTip Text on MouseMove

samjesse

Registered User.
Local time
Today, 04:22
Joined
Feb 13, 2009
Messages
64
Hi

Please help with the syntax of a vba line to get the Text to show the content of the combo box .
Code:
Private Sub Style2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Me.ControlTipText = Me.Value
End Sub

many thx
 
Untested, but it would need to be

Me.ComboName.Value
 
Well, I should have mentioned that I meant both. Me refers to the form itself; you have to specify the desired control for both.
 
Do I understand you right?
Me.ComboName.Value = Me.ComboName.Value
??
This does not make sense? May be you can write the line full syntax to show what you mean please?
The control I need to populate is the the "ComboName" but the ControlTip of the "ComboName".
 
No,

Me.OneControlName.ControlTipText = Me.ComboName.Value
 

Users who are viewing this thread

Back
Top Bottom