Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveControl
Message
De
17/12/2001 12:57:50
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:
00595215
Vues:
28
>>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?
>>
>According to Hacker's Guide™ to Visual FoxPro® 6.0 'Utterly annoying, however, is that when you switch focus to the Debugger, ActiveControl no longer works'.

Great! This answered my question. Further testing (with WAIT WINDOW) revealed that, indeed, I can use the ActiveControl property after all.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform