Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with SetFocus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00052740
Message ID:
00053029
Vues:
40
>the click event of "Add" again, at this point is when I receive
>>the error.
>
>I think therein lies your problem, Luis. When you call the cmdAdd.Click() from the Valid(), you are, in effect, issuing a SetFocus() from within a Valid().
>
>Maybe you need to offload some of this processing from the controls to form methods.

Thanks for your answer Steve, I need the SetFocus() in the click event of my
"Add". I don't understand why I can not check if the control
already has the Focus.
Why the ActiveControl property doesn't work?
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform