Ranorex

ContextMenu not fully visible because of lots of Entries

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet
View previous topic :: View next topic  
Author Message
sush



Joined: 31 Aug 2007
Posts: 2
Location: Graz/Austria

PostPosted: Fri Aug 31, 2007 4:12 pm    Post subject: ContextMenu not fully visible because of lots of Entries
We have a ContextMenu containing 32 Elements in a specified Level.
If the Screen Resolution is too small(e.g. 640 480) not all Entries are shown. The hidden ones are reachable by clicking at the end of the visible contextMenu, where an arrow appears.
Currently we are working with
>Ranorex.ContextMenu.SelectItemText("Add...", "Zebra Printer");
which doesnt work.
Is there a RanorexFunction who solves the Problem ? or do i have to go through the full list by keyboard clicks or something else...
Any Suggestions?

kind regards sush


(Using Ranorex 1.2 Pro)
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Mon Sep 03, 2007 10:33 pm    Post subject:
Ranorex cannot select an unvisible context menu item at the moment, the function ContextMenu.SelectItemText does not scroll the item into view, you have to do it yourself.

I have added this issue to our todo list.
Please send an "END" before selecting the item, this will scroll the menu item into view.

Code: click into code to enlarge
Application.SendKeys("{END}");               
Ranorex.ContextMenu.SelectItemText("Add...", "Zebra Printer");

Jenö
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum