|
-
Sep 2nd, 2009, 06:43 PM
#1
Thread Starter
Hyperactive Member
Change bgcolor of changed text box
Hi,
I have a data entry form with many text boxes/combo boxes/controls. I want to change their bgcolor everytime the user makes a change so they are aware of what changes they have made before commiting.
My plan is to store the original value in the tag and comapre in the validated event.
I don't won't to write the same code everytime I need a control to behave that way. I've never written a customcontrol before.
Can someone give me an example on how to achieve this by probably subclassing the control and reuse the code regardless of the type of control it is?
Thank you.
Sean
It is the mark of an instructed mind to rest satisfied with the degree of precision which the nature of the subject admits, and not to seek exactness when only an approximation of the truth is possible.
-Aristotle As quoted in Rapid Development, chapter 8, page 167.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|