Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default MouseUP event

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart MouseUp Event Feedback Amit Velingkar [MSFT] Charts and Charting in Excel 2 October 26th 09 02:06 AM
Click event on menu item is lost after first time firing of the event [email protected] Excel Programming 1 April 2nd 07 01:25 PM
MouseUp Event Paddler Excel Programming 2 October 5th 06 09:16 AM
mouseup [email protected] Charts and Charting in Excel 2 September 26th 06 05:07 AM
MouseDown()-MouseUp() skrol[_5_] Excel Programming 9 October 22nd 05 11:01 AM


All times are GMT +1. The time now is 11:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"