Ranorex

Just a information

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet
View previous topic :: View next topic  
Author Message
arishahsan



Joined: 18 Jan 2007
Posts: 26

PostPosted: 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.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Mon Mar 05, 2007 11:42 pm    Post subject:
arishahsan wrote:
1. Active window

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.

Jenö
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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