OK.
The method is not missing, it's changed to a static method.
--Intellisense couldn't/can't find it.
but this is still a change from previous versions where GetFocus() was a valid method for any Form object.
This now means that my code needs to bring the appropriate FORM into focus, before checking which CONTROL is in focus. (I'm assuming the static method is using the focused FORM)
-- off to branch my code stream --
(old code needs to compile against earlier Ranorex versions.)
This now means that my code needs to bring the appropriate FORM into focus, before checking which CONTROL is in focus. (I'm assuming the static method is using the focused FORM)
GetFocus attaches to the currently activ form and returns the control that has the keyboard focus.
I checked the version history in Subversion. The function seems to be the same except that the function is static.
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