Link to home
Start Free TrialLog in
Avatar of BlakeMcKenna
BlakeMcKennaFlag for United States of America

asked on

Checking for updates to any controls on Windows Forms?

I have a routine in my Form_Closing() Event that checks each control on my form that could change in value. If the value changes then a boolean variable is set in the controls Leave() Event. This isn't working real. Is there a better way to check if any values were changed. For example, if I load some data into some TextBox controls and the user changes some of it, what is the best and easiest way to flag that?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BlakeMcKenna

ASKER

Ah...the tag property! I forgot about that one. Ironically, I have used that before and it does come in handy!

Thanks James!