Moving between different tabs in RibbonStrip
I need my scripts to navigate through different tabs in the following control:
The ClassName of the control is "DevComponents.DotNetBar.RibbonStrip".
I could see hundreds of methods for this control using Object Spy but I couldn't figure out if there is one that actually clicks or selects a tab e.g. Edit (from the image)
Any help would be greatly appreciated.
I am assuming that you have mapped the ribbon.
Can you please try below code.
Set myControl = Aliases.MyApp.MyAppDocument.MyAppRibbon
Here myControl is the declared working as a ribbon control and "Edit" and "Data" are the tab names.
Please let us know , if this code does not work.
var a = Sys.Process(ApplciationName);
var b = a.WinFormsObject("FrmMain").WinFormsObject("radRibbonBar1").ClickItemXY(menuIndex,0,0);
Nee to create Project Variable for File,Edit,View.
Wittmann Battenfeld India Pvt. Ltd.,
Email : Vasanth.Veeravijayan@wittmann-group.com
Website : www.wittmann-group.com
Mobile: +91 8870219392 | Landline: +91 44 4207700