Ranorex

Menu class for .NET form does not work

 
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
p.zott



Joined: 22 Jul 2006
Posts: 19

PostPosted: Mon Oct 01, 2007 10:28 pm    Post subject: Menu class for .NET form does not work
I want to use the menus of a .NET application.
I tried the Menu class, but it does not work.

Any suggestion?

Peter
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 344

PostPosted: Tue Oct 02, 2007 6:37 pm    Post subject:
Quote:
I tried the Menu class, but it does not work.


Please try the MenuStrip class:

Code: click into code to enlarge
MenuStrip menuStrip = form.FindMenuStrip("menuStrip1");
menuStrip.SelectItemText("Submenu1", "Submenu1Item1");


Jenö
Ranorex Support Team
Back to top
View user's profile Send private message Visit poster's website
p.zott



Joined: 22 Jul 2006
Posts: 19

PostPosted: Tue Oct 16, 2007 6:25 pm    Post subject:
Thank you very much.
The function menuStrip.SelectItemText works Laughing

Peter
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> Bug Reports 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