Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe clicking off control
Message
 
 
To
15/05/2004 14:44:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00904366
Message ID:
00904401
Views:
18
Bonnie,

VFP does not commit the change from the control to the ControlSource until the Valid() executes.

It sounds like you are using a toolbar button or keypress to initiate your Save operation? If so those won't cause the current control to lose focus to trigger the Valid. This is one reason why I don't use toolbars, I use a use a button on the form itself.

Your form.Save() can SetFocus() to the current control, which will trigger the correct sequence to get your ControlSource updated before the rest of the save occurs.

>I have noticed an error that occurs on a pageframe that contains a bunch of text boxes. If a users changes the contents of a text box then clicks on the 'grey space' of the page frame (outside of any control). The text box that was just changed does not retain the change.
>
>Does anyone have any information on this? I don't do this, but some of my users do and then report that their changes are not being saved.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform