Accessing StatusStripLabel

Class library usage, coding and language questions.
Steve589
Posts: 2
Joined: Mon May 19, 2008 1:59 pm

Accessing StatusStripLabel

Post by Steve589 » Mon May 19, 2008 2: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

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 » Tue May 20, 2008 4: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

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

Post by Steve589 » Wed May 21, 2008 12:17 pm

Michael,

Thanks for fast response, exactly what I needed.

Steve