Usually we use a panel with a label describing/asking an input and a textbox for the user to input and a button to trigger the input action....but its also simple to create a custom control (dll) with this function...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
....but its also simple to create a custom control (dll) with this function...
Hello Cableguy,
It won't be difficult to create a clone of your AboutPanel library (named for example InputBox and using .ShowDialog) to act like a modal InputBox. Think about it, no hurry at all, we all can wait until... this evening
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
"Your system will melt down in 10....9...8....7..."
Well, almost.....Got a virus and had to re-install my system.....
That part is done, now I have to re-install and configure all the other apps, including b4ppc and sharpdevelop....
Hopefully I'll have all working by tomorow and start on the imput panel....
In the meantime, please provide some props/features that you would like to see in an input panel, and if possible, a graphical example of how it would look....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
InputPanel is now in its coding stage, but a doubt has rised....
I learned how to manage button click events inside the class, but how can I pass it to b4ppc?
I have contructed the click event....what do i put inside it? a simple get/set?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
'btn1 is the OK button, so it should pass the textbox(txt) value.... private void btn1_Click(System.Object sender, System.EventArgs e) { get{ return txt.text;} } 'btn2 is the Clear button, so it should Clear the textbox(txt) value.... private void btn1_Click(System.Object sender, System.EventArgs e) { txt.text="" }
Would this be correct???
When validating user input, whats the best form of action, to hide the panel or to dispose of it?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!