Accessing StatusStripLabel : Automation API

Accessing StatusStripLabel

Class library usage, coding and language questions.

Accessing StatusStripLabel

Postby Steve589 » Mon May 19, 2008 3:28 pm

I've been trying to find a way to read the status bar in a Windows form. Is there a way to do this without putting hooks (invoke method) into the actual code?

Thanks
Steve589
 
Posts: 2
Joined: Mon May 19, 2008 2:59 pm

Postby Support Team » Tue May 20, 2008 5:20 pm

Steve,

You can try the following:

1) Search for the StatusStrip control by control name
2) Use the Element property of the control to retrieve its element representation
3) Search in the element by role "StaticText"

Michael
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4837
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Postby Steve589 » Wed May 21, 2008 1:17 pm

Michael,

Thanks for fast response, exactly what I needed.

Steve
Steve589
 
Posts: 2
Joined: Mon May 19, 2008 2:59 pm


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests