Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who called me
Message
 
 
À
26/06/2006 16:31:15
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:
01131822
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
>
Great minds <g> I'm currently working on the same idea using CurrentlySelectedValue as a new property that I add in Init's method.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform