Thread: MouseUP event
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default MouseUP event

From what library are you getting the Slider control? The MouseUp event for
the Slider in MSComCtlLib is

Private Sub Slider1_MouseUp(ByVal Button As Integer, _
ByVal Shift As Integer, _
ByVal x As stdole.OLE_XPOS_PIXELS, _
ByVal y As stdole.OLE_YPOS_PIXELS)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"avi" wrote in message
oups.com...
Hello,

I use an activeX component(SSlider4) that has a MouseUp event. But i
continue to get a compile error stating that "the declaration of
parameters does not match event of the same name"

Private Sub SSlider4_Mouseup(x As Long, y As Long)
MsgBox "Fired!"
End Sub

Do I miss something?

Thanks a lot

Avi