Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveControl
Message
 
 
À
14/12/2001 15:39:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00594634
Message ID:
00594657
Vues:
20
>When I ask for ThisForm.ActiveControl in the debugger, it says, it can't evaluate the expression.
>
>I tried to intercept KeyPress at the form level (Form.KeyPreview = .T.), and wanted to know in what object the user was. Does this property do nothing usefull at all? Or what am I missing?
>
>TIA, Hilmar.

Put the VFP screen and the debugger side by side where you can see both. Put the following in the Watch window:

_screen.ActiveForm.ActiveControl.Name
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform