Problem with Mouse.ScrollWheel : General Questions

Problem with Mouse.ScrollWheel

Ask general questions here.

Problem with Mouse.ScrollWheel

Postby costamesakid » Wed Oct 27, 2010 12:21 am

According to the Ranorex API documentation I can use the Mouse.ScrollWheel method to simulate scrolling of the the mouse wheel. However, after I set the focus on my application the following code does not scroll the mouse wheel in either firection. Any ideas? Thanks


Mouse.ScrollWheel(-120);
Report.Info("Mouse Scroll Down");

Mouse.ScrollWheel(120);
Report.Info("Mouse Scroll Up");
costamesakid
 
Posts: 82
Joined: Tue Jun 16, 2009 11:27 pm

Re: Problem with Mouse.ScrollWheel

Postby Ciege » Wed Oct 27, 2010 12:38 am

I've not ever tried it myself, however... did you try a mouse.click on the object before using the scroll?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...
User avatar
Ciege
 
Posts: 965
Joined: Thu Oct 16, 2008 7:46 pm
Location: Arizona, USA

Re: Problem with Mouse.ScrollWheel

Postby Support Team » Wed Oct 27, 2010 3:20 pm

Hi,

Would it be possible to send us a Ranorex Snapshot of the whole application to check what you are trying to do?

Thanks in advance.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests