Custom Input Box
Posted on 2006-05-02
I have created a form that is essentially an input box. It has a label, a text box and two buttons. I have set it up so it resembles the rest of my application and thus cant use the standard inputbox control. What I am trying to do is create a sub that loads the input box, changes the label (to a new dialogue) and then returns whatever is inputted into the text box as a result.
For example... If the user double clicked on LblInput1 it would launch the new input box and then change the label to a new prompt for the user
If the no button is clicked the input box would unload, if the yes button is clicked whatever had been entered into the inputbox would be set to LblInput1.Caption
If the user double clicked in LblInput2 the same would happen but this time the same form would have to assign the contents of the textbox to this new LblInput2.Caption
Thanks in advance