Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing bound control value and buffer
Message
De
17/04/2011 13:17:19
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01507653
Message ID:
01507662
Vues:
38
Hi Dmitry,

I am a little confused why you need to call getfldstate() from interactivechange. The fact that interactivechange fired means that table field was changed on a bound control. Use this.value event if you need the new value. If you really need to check getfldstate() then do a setfocus() to another control and then back to this control the the field should show the change.


>>
>>(1) easy to test - hit TAB after you have changed the contents of the textbox, then call getfldstate()
>>
>>(2) A refresh() will revert any changes you have done to the textbox - before TableUpdate() this is
>
>Yes, TAB away from the control makes getfldstate() be correctly updated.
>
>So, refresh() is not the way to go.
>
>I am not revising the entire approach of using the change in the cursor buffer. There has to be another way to do what I am trying to do.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform