General information
Category:
Object Oriented Programming
I've had mixed results with Grid commands if the Grid doesn't lose focus, maybe the Debugger takes focus off temporarily and forces the evaluation of table fields, etc. Still, it shouldn't act like that regardless...
Just ideas,
-Irv.
>I've placed some code in the BeforeRowChange and AfterRowChange events of a grid to trap for data changes made by the user to the contents of the grid. I'm working with a cursor created from an xml stream, so I can't use any calls back to the remote data source to check for changes to the data.
>The AfterRowChange takes a snapshot of the data and stores it in a property on the form by calling "Scatter to Name". The BeforeRowChange calls a method on the form that does a scatter memvar. It then compares the memory variables with the values stored in the form object created by Scatter To Name.
>
>When I put a break point in the code and trace through it, the changes are trapped and the code to save the data executes. When there is no break point, the code does not trap the data change and the data changes are not saved.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only