Set Textbox to string reference

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dschu012
    New Member
    • Jul 2008
    • 39

    Set Textbox to string reference

    I want to be able to set a Textbox to a reference of a string so when the Textbox is changed so is the value of the string. I want to do this without using the TextChanged event. I have a class that contains many strings and want to be able to change the values of the strings in the class, for later use, using Textboxes.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    You need to use the textchanged event.
    Its really the only way you can 'map' the instances of textboxes from one class to the instances of strings from another.

    Remember - these are completely separate classes. They only way they know about each other is to the extent that you tell them

    Comment

    Working...