Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can execute a button click method without showing the fo
Message
 
 
À
24/09/2019 12:52:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671046
Message ID:
01671086
Vues:
75
>>It will take me 10 years to refactor all places where I have code in the event method (e.g. cmdSave.click()) :)
>
>Start with the ones where you're calling that code from elsewhere. There should never be calls to event methods.
>
>Tamar

Just to clarify, when you are saying "never be calls to event method", you mean never code like this?
*-- Some procedure or a method calling the click of a button:
SomForm.cmdSomeButton.Click()
??
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform