Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What method to use instead of Refresh?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01546511
Message ID:
01546517
Views:
59
>>>Hi,
>>>
>>>I have a textbox "bound" to a cursor/view. I put bound in quotation marks because I don't want to use the ControlSource of the text box. Instead the "binding" has to be done in code. So that every time the record pointer moves, a new value appears in the text box. Natural thing would be to put this code in the Refresh method of the text box. But I think that Refresh would fire too often; even when the record pointer has not moved. What other method would you recommend to use for this purpose? TIA.
>>
>>Use valid() method.
>
>Would Valid() automatically fire on every record pointer move?

It fires when you leave a textbox.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform