Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Init troubles
Message
 
 
À
28/02/2002 16:00:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00626633
Message ID:
00626678
Vues:
10
>>>Hi All,
>>> Has anyone ever seen a case where the code of a textbox (tab order 1) gets fired immediately after the init of a form gets done? Or am I forgetting to do something?
>>
>>Is some code setting focus to this object programmatically or changing value of this object programmatically?
>
>Nadya,
> Not that I am aware of. It is the darndest thing I have ever seen.
>Thanks,

Hi Winn,

It may also happen, if your code is setting focus to another object programmatically. I had this happened in our forms, when code tried to restore focus to something. This caused firing of another control.Valid method. Check, if your Init or Activate or Refresh is calling SetFocus() of some object.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform