Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Coding, syntax & commands
Elmer,
Thanks for the comments. I had thought about doing exactly what you suggested, but, I was hoping that there would be a better/simpler way. Oh well...I could always cross my fingers and hope VFP8 does a better job.
Mike.
>This problem comes from the grid control not having a row level valid method (like browse fields... valid...) Basically what you are doing is setting OldActiveRow in beforerowchange event and detecting the row change in afterrowchange event calling gridrowchange. Gridrowchange has to move the record poiner back to OldActiveRow do the validation and either return back to the new row or leave it on the old row if validation fails. A real kludge workaround, but the only way that I know that this can be done. I use similar code in my grids.
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