Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Bound control updating
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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement