Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active Object!
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Active Object!
Divers
Thread ID:
00609649
Message ID:
00609649
Vues:
34
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform