|
-
Aug 10th, 2011, 05:54 AM
#1
Thread Starter
Lively Member
Is it possible imply a command that affects all TextBoxes in the application?
Hi!
I'm wondering if there is a way to write a code that affects every single TextBox in my application... I have about 12 Forms that are all inherited from my BaseForm. I want to affect all of the TextBoxes in those 12 forms
The idea is, that every single TextBox would change the text in it to Bold, if the text is not 0 or 0,0 or 0,00.
Let's say there is a Form that has about 100 textboxes to indicate different values. Every TextBox that shows the value 0 should be in normal font, but every TextBox that shows any other value should be bolded...
Or should I just do a public function that is called every time a textbox changes value? (Not quite sure how to do this either...)
Last edited by Hamsori; Aug 10th, 2011 at 05:58 AM.
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
|