Not sure if the title accuratly reflects the question, but here it goes.
I have a dropdown (a ComboBox) with some text. Simple enough, when the dropdown is opened and text selected, it puts the text in a text box below.
If cbCallNotesPrefills.Text = "Sample Text" Then txtCallNotes.Text = "Sample Text" End If
I made it that instead of hard coding the text in the dropdown, it's picking it up from a text file. The reason was so an end user can have their own "Sample text" or whatever they want in the dropdown.
So if thats the case, I can't hard code it anymore like the sample above. They might change it to something else.
Question is, how tough is it to have this dynamic text be sent to the textbox? I'm trying to find some samples, not having much luck.
I thought about this-
If cbCallNotesPrefills.text = "Sample Text" Then txtCallNotes.Text = cbCallNotesPrefills.SelectedValue.ToString End If
But nope, I'm not even close. How do I deal with that "Sample text"?