XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 10th, 2025, 5:20 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: May 29th, 2014, 1:39 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Is there a code example anywhere for onMouseWheelUp / onMouseWheelDown?

Please point me in the right direction.


Last edited by yereverluvinuncleber on October 23rd, 2014, 4:23 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: HELP: onMouseWheelUP
PostPosted: May 29th, 2014, 2:34 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
i don't see anything about it before in forum,
as i tested right now it will work simply as other functions
and when you roll the mouse wheel up/down on the specified object it will execute that function


and if you want an example here it is:
Code:
function text1OnMouseWheelUp(Sender)
{
   showTrayBalloon("mouse wheel goes up","5")
}


function text1OnMouseWheelDown(Sender)
{
  showTrayBalloon("mouse wheel goes down","5")
}


Top
 Profile  
 
 Post subject: Re: HELP: onMouseWheelUP
PostPosted: May 29th, 2014, 3:02 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Is just a simple tag like the others where you can assign simple functions. Nothing special. Hamid shows you an example using script, but really, selecting the default tags, you don't need any script and you can do almost "everything" ..

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: HELP: onMouseWheelUP
PostPosted: May 29th, 2014, 3:18 pm 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
That's easy enough - thanks for the help, I was expecting a scrollwheel delta value to be populated and fed back. Good to know you are here to answer questions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group