Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox refills with old data after clearing
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01157636
Message ID:
01157719
Views:
21
I've seen this behavior with a pageframe and a setfocus to the textbox. We "solved" the problem by calling refresh of this textbox and only after that a SetFocus, e.g.
.txtRemainingBalance.VALUE = .txtBalance.VALUE
	.txtDownPayment.Refresh()
	.txtDownPayment.SetFocus()
>I'm also getting this with VFP8 SP1.
>
>I have a textbox with a inputmask and code in the Interactivechange() event that sets up a filter. I also have a button that clears this textbox and in essence resets the filter.
>
>What's happening is this (Everything is contained on a page of a pageframe):
>
>1. User sets the filter textbox. (works as intended)
>2. User clicks the reset button and the textbox goes to blank (as intended).
>3. User begins to enter the next filter they wish to set and after so many characters the textbox redisplays and becomes the filter that was set in 1.
>
>The filter is set using a SELECT statement and populates a grid.
>
>I am simply clearing the value and refreshing the page and resetting the grid back to it's unfiltered state. The only code that changes this textbox is under the reset button.
>
>Any ideas what I'm missing here?
>
>Richard
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