Controlname of a PushButton (or any other item) in a Toolbar

Class library usage, coding and language questions.
chstnq
Posts: 9
Joined: Tue May 20, 2008 7:59 am

Controlname of a PushButton (or any other item) in a Toolbar

Post by chstnq » Thu Oct 09, 2008 3:16 pm

Hi,
I have a number of buttons in a Toolbar. To make sure that I select the right button to click I want to identify it by its controlname or controlId. With the RanorexSpy I only get the controlname and controlId of the Toolbar. Is there a way to get to the information I need?


regards
Alex

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Thu Oct 09, 2008 4:29 pm

.NET Windows Forms Toolbar items/buttons neither have a ControlName, nor a ControlId. They can only be identified as elements, e.g. by there element name/value.

Regards,
Alex
Ranorex Support Team