Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On shutdown doesn't shift focus off field
Message
De
23/04/1999 19:43:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00211650
Message ID:
00211810
Vues:
26
>One thing I found out was that _screen.activeform.activecontrol gives an error if there is no active control. I was able to accomodate for this in my error handler though.

Hi Evan,

You can avoid the error handler altogether:
If Type("_Screen.ActiveForm.ActiveControl") == "O"
    && Make sure there is an active control
    _Screen.ActiveForm.ActiveControl.SetFocus
EndIf
Next feature for UT: Color coding! (Won't let me use <FONT>)
:-)
Sylvain Demers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform