How to detect when a DataGridViewCell's value has changed
-
I'm making a Music Library and I'm using the DataGridView class to hold the songs. Each song used TagLib# to change it's attributes (Title, Artist, etc). Each song (the class), extends DataGridViewRow. The song class has a DataGridViewTextBoxCell for the main attributes. I want it to when the value of the text box is changes, an event is fired and the attribute is updated. But I can find the proper event in the DataGridViewTextBoxCell or DataGridViewRow instances. I found that DataGridViewRow has a private method titled "RaiseCellValueChanged", but I can't find the associated event. BTW this forum doesn't seem to like Linux. I can't make threads on my Kubuntu Laptop. After I click "Post Message" nothing happens and Firefox times out.
-
I'm making a Music Library and I'm using the DataGridView class to hold the songs. Each song used TagLib# to change it's attributes (Title, Artist, etc). Each song (the class), extends DataGridViewRow. The song class has a DataGridViewTextBoxCell for the main attributes. I want it to when the value of the text box is changes, an event is fired and the attribute is updated. But I can find the proper event in the DataGridViewTextBoxCell or DataGridViewRow instances. I found that DataGridViewRow has a private method titled "RaiseCellValueChanged", but I can't find the associated event. BTW this forum doesn't seem to like Linux. I can't make threads on my Kubuntu Laptop. After I click "Post Message" nothing happens and Firefox times out.
Jordanwb wrote:
BTW this forum doesn't seem to like Linux. I can't make threads on my Kubuntu Laptop. After I click "Post Message" nothing happens and Firefox times out.
Strange. I sometimes post for *nix with no problem at all. Used both Firefox and Konqueror...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
I'm making a Music Library and I'm using the DataGridView class to hold the songs. Each song used TagLib# to change it's attributes (Title, Artist, etc). Each song (the class), extends DataGridViewRow. The song class has a DataGridViewTextBoxCell for the main attributes. I want it to when the value of the text box is changes, an event is fired and the attribute is updated. But I can find the proper event in the DataGridViewTextBoxCell or DataGridViewRow instances. I found that DataGridViewRow has a private method titled "RaiseCellValueChanged", but I can't find the associated event. BTW this forum doesn't seem to like Linux. I can't make threads on my Kubuntu Laptop. After I click "Post Message" nothing happens and Firefox times out.
Hi, there is a DataGridView.CellValueChanged event. Doesn't that suit your purposes? :)
Luc Pattyn [Forum Guidelines] [My Articles]
Voting for dummies? No thanks. X|
-
Hi, there is a DataGridView.CellValueChanged event. Doesn't that suit your purposes? :)
Luc Pattyn [Forum Guidelines] [My Articles]
Voting for dummies? No thanks. X|
-
Jordanwb wrote:
BTW this forum doesn't seem to like Linux. I can't make threads on my Kubuntu Laptop. After I click "Post Message" nothing happens and Firefox times out.
Strange. I sometimes post for *nix with no problem at all. Used both Firefox and Konqueror...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon