jack nt
10-05-2012, 09:10 PM
when i use right button of mouse to click on a combobox, event mouse_down raises twice?
who can help me to avoid it?
thanks
Aussiebear
10-05-2012, 11:05 PM
Your code has variants dimmed as Integers and Single as in
Private Sub ComboBox1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
MsgBox "MouseDown"
End Sub
The 2003 VBA reference shows the variants dimmed as Longs
Private Sub object_MouseDown(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.