I have a form with a set of buttons on it and a textbox. It is intended to act as a soft-keyboard to provide input facilities within an application intended for handheld devices. The form itself works fine. What I need to do is to be able to call it from any point in the program (wherever the user needs to input data), and return the value held in the textbox as a variable. So, essentially, I want to be able to call the keyboard form and take a result from it.
In other languages I'd create a function which asked the user for input (analogous to the form) and returned the value to where the call was made from, in the form: newVar=getInput() or something. I'm not entirely sure how I should go about this with VB.
Thanks
In other languages I'd create a function which asked the user for input (analogous to the form) and returned the value to where the call was made from, in the form: newVar=getInput() or something. I'm not entirely sure how I should go about this with VB.
Thanks