Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page.Activate fires if any object Sets Focus
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Page.Activate fires if any object Sets Focus
Divers
Thread ID:
00642790
Message ID:
00642790
Vues:
67
Hi everybody,

I was debugging a form and found, that if I invoke in the form's method code
with thisform
   if somebadcondition
      .pageframe.page1.txtDate.setfocus() 
      return .f.
   endif
endwith
It fires page.Activate, then Form's Activate.

Is it possible to fire only textbox SetFocus() and not fire all other methods, because this causes lots of code executed and finally instead of setting focus on the bad field I'm getting moved to a new record...

Thanks in advance
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform