Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing bound control value and buffer
Message
De
17/04/2011 13:09:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01507653
Message ID:
01507660
Vues:
40
>>
>>(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.


maybe you can use a combination of both

getflfState() or (eval(thisform.ActiveControl.RecordSource) < > thisform.ActiveControl.Value)


But in any case, you have to move off the ActiveControl before you do TableUpdate()
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform