Hey all, I recently used a BindingNavigator object to give some of our novice users a familiar Access-style interface for moving through a large dataset.
The problem I found was validating a form when the person changes record - which event did any of you guys catch? Its a pain because MoveNext, MovePrev, MoveFirst & MoveLast all need handling - plus typing into the current record text box..
I opted to handle BindingSource.PositionChanged, but even this was a pain due to the fact that the BindingSource position has already changed when you enter the event handler!! So if validation fails you must have saved the previous record to move back to manually..
I hope that makes sense.. There must be an easier way to do this!!
Anyone done it?
Cheers
mafro
The problem I found was validating a form when the person changes record - which event did any of you guys catch? Its a pain because MoveNext, MovePrev, MoveFirst & MoveLast all need handling - plus typing into the current record text box..
I opted to handle BindingSource.PositionChanged, but even this was a pain due to the fact that the BindingSource position has already changed when you enter the event handler!! So if validation fails you must have saved the previous record to move back to manually..
I hope that makes sense.. There must be an easier way to do this!!
Anyone done it?
Cheers
mafro