| View previous topic :: View next topic |
| Author |
Message |
sush
Joined: 31 Aug 2007 Posts: 2 Location: Graz/Austria
|
Posted: 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 |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: 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 |
|
 |
|