GornHorse Posted July 16, 2003 Posted July 16, 2003 Hi There, Is there a way to prompt the user with a messagebox that contains a textbox?? If this is possible, that would be great! If someone has managed to do this, please provide some help in vb.net. Regards, Michelle :D Quote
*Experts* Volte Posted July 16, 2003 *Experts* Posted July 16, 2003 MessageBox's don't contain TextBoxes... do you mean you want to include images? If you do, you can use the predefined icons in a MessageBox (Exclamation, Question, etc). By setting the appropriate parameter of the .Show() method. Anything above that and you'll need to design your own form to look like a message box. Quote
*Experts* jfackler Posted July 16, 2003 *Experts* Posted July 16, 2003 Considered an InPutBox? As in: Dim password As String password = InputBox("Re-enter your password. Your Password may not be left blank.", "Password Confirmation") Quote
*Experts* mutant Posted July 16, 2003 *Experts* Posted July 16, 2003 Just my opinion on InputBoxes :): Not only they are not not part of the framework, but they look so ugly and unprofessional. Quote
*Experts* Volte Posted July 16, 2003 *Experts* Posted July 16, 2003 D'oh! I completely midunderstood the question. :o Quote
*Experts* jfackler Posted July 16, 2003 *Experts* Posted July 16, 2003 Mutant, No argument here. Ugly doesn't even describe it adequately. I would prefer my own designed form. But he did ask.... Jon Quote
GornHorse Posted July 16, 2003 Author Posted July 16, 2003 That's ok, i've got a temporary backup, i have made a panel that pops up to prompt the user with a textbox entry. What this does, is on the CancelButton (ESC) event the panel will appear and ask the user which payment they wish to remove - the textbox is there for the user to type in the payment number they want to remove , there are then two buttons, an OK and a CANCEL button. It doesn't look too bad, as i can make it look very similar to a messagebox, but if anyone comes across this in the future, please let me know if you've figured out how to put a textbox into a messagebox. This would be a great feature!! Cheers, Michelle Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.