Posted: Mon Mar 05, 2007 9:12 am Post subject: Just a information
Can we get the three things programatically using ranorex
1. Active window
2. Focused Control in a form
3. Focused Element in a Control or in a form
If you have any direct command to do so plzz let me know.
The static get property Form.Active retrieves the currently active top level form.
(Works only in V1.1.0 or above)
arishahsan wrote:
2. Focused Control in a form
The static get property Form.GetFocus returns the control that has the keyboard focus.
arishahsan wrote:
3. Focused Element in a Control or in a form
We don't support this functionality directly at the moment.
But you can read the selected items of the controls or you can use the Focused or Selected flag of the State enumeration.
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