MouseUP event

A

avi

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
 
C

Chip Pearson

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top