Results 1 to 4 of 4

Thread: Getting all text boxes to call specific routin in the Change Event

  1. #1
    Ergo60
    Guest

    Getting all text boxes to call specific routin in the Change Event

    I have 35 Text boxes on a form,and I want all of them to call the same procedure in their Change event. Without having to place a call to the procedure in every change event how can I do this?


    Thanks

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Sub text_Change(ByVal sender as Object, ByVal e As Eventargs) Handles Text1.Change, Text2.change, Text3.Change, etc..
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Ergo60
    Guest
    That is going to be one ugle declaration.......

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    yep
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width