access97to2000
Programmer
Hi,
I have a listview and a frame which has some textboxes. To Edit, When a user double clicks a record in the listview, the values of the record are populated in the textboxes. for ex:
cmbCategory.Text = lvwGeneric.SelectedItem.ListSubItems(2)
txtDmentPath.Text= lvwGeneric.SelectedItem.ListSubItems(3)
when the user double click another record, it is populated again.
But now i want to enhance it like this. IF the user double clicks it the fields have to be filled in. IF he makes any changes to the textboxes and without saving it, double clicks on another record , a msg has to pop up saying - do you want to save the changes made to the earlier record ?
how can i do that ?
Tahnks
Rako
I have a listview and a frame which has some textboxes. To Edit, When a user double clicks a record in the listview, the values of the record are populated in the textboxes. for ex:
cmbCategory.Text = lvwGeneric.SelectedItem.ListSubItems(2)
txtDmentPath.Text= lvwGeneric.SelectedItem.ListSubItems(3)
when the user double click another record, it is populated again.
But now i want to enhance it like this. IF the user double clicks it the fields have to be filled in. IF he makes any changes to the textboxes and without saving it, double clicks on another record , a msg has to pop up saying - do you want to save the changes made to the earlier record ?
how can i do that ?
Tahnks
Rako