Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop page change in a pageframe during a lostfocus??
Message
 
À
15/08/2000 15:34:49
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00405163
Message ID:
00405172
Vues:
26
Peter,

LostFocus has a base class behavior fo moving focus. You need to stop that behavior if you are setting focus somewhere. Change your code to this;
WITH This
   IF Empty( .Value )
      * Relative addressing is more portable as it is name independant
      .Parent.Parent.activepage=2
      * Put focus on this same control
      .setfocus()
      * Stop the base class behavior
      NODEFAULT
   ENDIF
ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform