Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I help going on?
Message
 
À
31/07/2009 08:44:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01415509
Message ID:
01415849
Vues:
56
>I think when you say "methods should never call an event" you mean: "don't call click event from keypress"

What he meant is that you would create a method called FinishSalesNote and call this method from the Click event and from the KeyPress event of the form. This method would return .T. if the sales note could be finished. To solve the issue with the KeyPress event, you have to stop the events:
IF Thisform.FinishSalesNote()
  NODEFAULT
ENDIF
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform