Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active Object!
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Active Object!
Miscellaneous
Thread ID:
00609649
Message ID:
00609649
Views:
36
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
Next
Reply
Map
View

Click here to load this message in the networking platform