Information générale
Catégorie:
The Mere Mortals .NET Framework
I wrote an IsChanged() routine to check the tables the mmMoverControl was changing. It turns out that when the records are moved between the tables, their RowState is marked as UnChanged.
My solution was to add a IsChanged property to the mmMoverControl and set it to true in:
MoveItem()
RemoveItem()
and set it to false in:
OnSave()
OnRefreshLists()
Now I check the mmMoverControl.IsChanged property to determine if there were changes. This seems to work pretty well.
Jeff
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement