Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active Object!
Message
De
24/01/2002 09:01:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00609649
Message ID:
00609654
Vues:
9
>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 = ???
oActiveObject = ThisForm.ActiveControl
A major problem: the property .ActiveControl will not show correctly in the debugger. You have to use other alternatives for debugging, such as:
wait window ThisForm.ActiveControl.Name
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform