Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On shutdown doesn't shift focus off field
Message
De
25/04/1999 00:39:02
 
 
À
23/04/1999 16:38:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00211650
Message ID:
00211967
Vues:
22
You could always use INLIST with Class to determine that.

>>>I use _VFP.ActiveForm.ActiveControl.SetFocus, so the current control loses focus to regain it! :-)
>>
>>Great. That did the trick.
>>
>>Funny though that setting the focus to the control causes this behaviour. :-)
>
>One thing I thought after sending the message; I think that if ActiveControl is a grid, then this trick doesn't work. What I do in those cases is to SetFocus to another control (or column of the same grid) and SetFocus back where the user was. Perhaps a little experimentation with that case is in order...
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform