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:
01546516
Views:
53
>>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?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform