Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text.value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00466578
Message ID:
00466586
Views:
9
>I have the following situation: I have a grid which contains several text boxes. In the afterRowColchange event I have a methods that check to see if anything has changed and it so calls the save routine. In the save routine I have code that check to see if the oldval of the control is not equal to the value of the textbox. However I have notice that if I am sitting in the textbox before changing row the value of the textbox.value has not change even though I have changed it - the controlvalue has changed. Is this a bug in FoxPro. However it I tab out of textbox before changing row then the value of the object.value has changed.

Not a bug. It's how it works. We have a routine that informs the user they are about to leave a form with unsaved data and had to force focus to a "dummy" control so the last control a user may have changed loses focus and is updated.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform