Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox refills with old data after clearing
Message
 
To
27/09/2006 16:46:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01157636
Message ID:
01157801
Views:
18
Textbox cleared with:
THIS.Parent.Textbox.Value = ''
No controlsource on the textbox.

>>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
>
>How do you clear the textbox value ?
>Is Controlsource = none ?
State of Florida, DCF
Previous
Reply
Map
View

Click here to load this message in the networking platform