Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is there a simple way to convert date formats using dateinfoproviders??? Pin
User 66581-Jun-06 9:37
User 66581-Jun-06 9:37 
Questionasymetric property accessibility? Pin
eye_for_an_eye1-Jun-06 8:45
eye_for_an_eye1-Jun-06 8:45 
AnswerRe: asymetric property accessibility? Pin
Stephan Samuel1-Jun-06 9:01
Stephan Samuel1-Jun-06 9:01 
QuestionUsing the results found by google desktop Pin
Rizwan Rathore1-Jun-06 7:27
Rizwan Rathore1-Jun-06 7:27 
AnswerRe: Using the results found by google desktop Pin
zhangyang20081-Jun-06 19:01
zhangyang20081-Jun-06 19:01 
GeneralRe: Using the results found by google desktop Pin
Rizwan Rathore2-Jun-06 2:54
Rizwan Rathore2-Jun-06 2:54 
QuestionConsuming Java Web Service from C# client Pin
acvishy1-Jun-06 7:24
acvishy1-Jun-06 7:24 
QuestionRecord change detection. Pin
tcss1-Jun-06 7:21
tcss1-Jun-06 7:21 
Hi all

I have a form with a datagridview and a couple of fields on it. These are bound to a dataset.
When I select a record in the datagridview, the correct information shows up in the fields.

Now I want to give the user a visual indicator that data on the form has changed.
To do this I have put a panel at the top of the form. The idea is :
if the data has not changed the panel is green
If the data has been changed by the user, the panel goes red.

This is causing problems.
I had the event to change the colour in the textchange event. Problem: when i move to the next record, the text changes and I get a red flag when the user has not changed data.
I can work around this using the keypress event for text fields, the click event for checkboxes as these are not triggered when the text for the next record is displayed.
What do I do with the dropdown boxes to get the same effect?

Also just noticed : If I use the mouse and select and cut the data from the text field, the keydown event (obviously) is not triggered.

Rowchange OR rowchanging does not get triggered until I select the next record in the datagridview

Can anyone suggest a simple way to implement what I thought would be basic functionality?

I realy would like my users to know when a single field has been changed as they change it

Thanks
QuestionWindows Vista and Audio/Video functions Pin
[DK]KiloDunse1-Jun-06 6:53
[DK]KiloDunse1-Jun-06 6:53 
AnswerRe: Windows Vista and Audio/Video functions Pin
Judah Gabriel Himango1-Jun-06 9:15
sponsorJudah Gabriel Himango1-Jun-06 9:15 
GeneralRe: Windows Vista and Audio/Video functions Pin
LongRange.Shooter1-Jun-06 9:21
LongRange.Shooter1-Jun-06 9:21 
GeneralRe: Windows Vista and Audio/Video functions Pin
Judah Gabriel Himango1-Jun-06 9:53
sponsorJudah Gabriel Himango1-Jun-06 9:53 
AnswerRe: Windows Vista and Audio/Video functions [modified] Pin
LongRange.Shooter1-Jun-06 9:17
LongRange.Shooter1-Jun-06 9:17 
QuestionEquivalent of a break Pin
donkaiser1-Jun-06 4:42
donkaiser1-Jun-06 4:42 
AnswerRe: Equivalent of a break Pin
stancrm1-Jun-06 4:49
stancrm1-Jun-06 4:49 
AnswerRe: Equivalent of a break Pin
Stephan Samuel1-Jun-06 6:26
Stephan Samuel1-Jun-06 6:26 
AnswerRe: Equivalent of a break Pin
leppie1-Jun-06 12:37
leppie1-Jun-06 12:37 
QuestionCombobox autocompletion Pin
PaulaM1-Jun-06 4:38
PaulaM1-Jun-06 4:38 
AnswerRe: Combobox autocompletion Pin
Dustin Metzgar1-Jun-06 7:04
Dustin Metzgar1-Jun-06 7:04 
AnswerRe: Combobox autocompletion Pin
ekynox1-Jun-06 15:43
ekynox1-Jun-06 15:43 
QuestionCasting help Pin
eric_tran1-Jun-06 3:42
eric_tran1-Jun-06 3:42 
AnswerRe: Casting help Pin
Guffa1-Jun-06 3:47
Guffa1-Jun-06 3:47 
GeneralRe: Casting help Pin
eric_tran1-Jun-06 3:55
eric_tran1-Jun-06 3:55 
QuestionStartup app Pin
Phoen251-Jun-06 3:38
Phoen251-Jun-06 3:38 
AnswerRe: Startup app Pin
stancrm1-Jun-06 4:46
stancrm1-Jun-06 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.