Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom writebuffer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00018427
Message ID:
00018435
Views:
32
>>Hi,
>>
>>I'm having trouble with my custom write buffer.When I am on a record and make changes then go to the next record using my toolbar the writebuffer traps for changes and allows me to commit or revert my changes. But if I were to make changes then select my listbox and go to another record, the changes are already committed. How do I check if data has changed in any of my text boxes and prompt the user to save, discard or cancel the last action?
>>
>>TIA
>>Jon

>In case of row buffering, may be you can put the trap to Listbox GotFocus(), that just off the top of my head, I didn't try it :)

Nick,

I put my method for checking the fieldstate in the gotfocus() event as you suggested and I now get my confirmation message. Thanks. Now I have to resolve the rest of the fields refreshing once my writebuffer is invoked, ie I save my changes, the listbox displays the clicked record but for some reason the rest of my text boxes are not being refreshed? Always something!!

Thanks again
Jon
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Previous
Reply
Map
View

Click here to load this message in the networking platform