Hi folks!
I have a code in Form.KeyPress. When the user press Enter, I'd like to get the current object and store it in a variable.
Something like it:
oActiveObject = ???
and then, after execute some codes, I can do it:
oActiveObject.SetFocus
or ...
oActiveObject.ForeColor = xxx,
... etc.
Important: I have some Forms with PageFrames, Containers, Grads and so on... I have to get the correct "address" of object, like:
ThisForm.PageFrame.Page1.Object
[]s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte