Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing bound control value and buffer
Message
From
17/04/2011 13:17:19
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01507653
Message ID:
01507662
Views:
36
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform