S
Steve Jensen
I am trying to use the MouseMove event to set the ControlTipText property of
a combo box on a continuous form, which is on a tab control.
Private Sub EventID_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Me.EventID.ControlTipText = Me.txtEvent.Value
End Sub
The event just sets the ControlTipText to the value of a hidden text box.
The ControlTip part works; however, the event seems to preempt all other
events, including the normal functioning of the combo box. When you open the
screen, all instances of the combo box flicker, as if some endless processing
was occurring (even when there is not a mouse over any of them). If you
select a record, the flickering stops, and the MouseMove event seems to work
fine.
However, if you try to click the dropdown for the combo box, the list either
flashes on and disappears, or it appears but seems to be locked - you cannot
select a value from the list.
What can be done to correct this problem?
a combo box on a continuous form, which is on a tab control.
Private Sub EventID_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Me.EventID.ControlTipText = Me.txtEvent.Value
End Sub
The event just sets the ControlTipText to the value of a hidden text box.
The ControlTip part works; however, the event seems to preempt all other
events, including the normal functioning of the combo box. When you open the
screen, all instances of the combo box flicker, as if some endless processing
was occurring (even when there is not a mouse over any of them). If you
select a record, the flickering stops, and the MouseMove event seems to work
fine.
However, if you try to click the dropdown for the combo box, the list either
flashes on and disappears, or it appears but seems to be locked - you cannot
select a value from the list.
What can be done to correct this problem?