Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound control updating
Message
De
24/07/2000 02:28:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00396053
Message ID:
00396063
Vues:
11
>>An object (say oX) will update its value from the control source when an oX.refresh() is called.
>>
>>How do you force an objects to update the contrl source when the value changes?
>>
>>I ask because if I test the control source value in the oX.interactivechange() method, its value hasn't necessarily been updated to equal the oX.value
>>This is nasty if my .interactivechange method calls a form method which expects the updated value to be there.
>>
>>My current fix is to explicitly update the control source in the interactivechange() method. But that seems an odd thing to do!
>>
>>What do you reckon?
>
>I have done 1 or both of the following in the InteractiveChange before testing the new value:
>
>DoDefault()
>This.Value = This.Value
>*then test controlsource value to see if it is updated.

Tks for quick reply at what must be an ungodly hour over there. I'll test it out.
(BTW I also tried DOEVENTS without any luck.)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform