Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who called me
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01131818
Message ID:
01131820
Vues:
13
>Hi everybody,
>
>While working with the combobox I'd like to see which method called the current method. In particular, the combobox has the same code in Click, InteractiveChange and even in LostFocus. I want to make sure I'm not executing this method more than once if I click on the item or change something.
>
>Do you have ideas how can I make sure that the method called only once when some action is taken (like changing the value)?
>
>Thanks in advance.

Didn't ASTACKINFO( ) or PROGRAM() work?
I would do something different. In this method I would do:
IF NOT ...Combo.Tag == TRANSFORM(...Combo.value)
   ** Do whatever you want to do
   ...Combo.Tag = TRANSFORM(...Combo.value)
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform