Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who called me
Message
De
26/06/2006 16:36:50
 
 
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:
01131826
Vues:
15
:o)))))


>>>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
>>
>
>Great minds <g> I'm currently working on the same idea using CurrentlySelectedValue as a new property that I add in Init's method.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform