|
-
Jul 1st, 2004, 11:17 AM
#1
Thread Starter
Hyperactive Member
GotFocus
Is there a way to override the gotfocus event for all textboxes on the form in one method. I can write one and then attach Handles for gotfocus for all textboxes, but inside that I still have to check
if text1 then do this ...
if text2 then do this ...
while they will all be doing the same thing .. eg; change in backcolor.
is there a way so I do not have to check the textboxes. And if future if somebody else adds another textbox, it will be taken care of automaticallty without touching the code.
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
|