Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted
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.
  • *Experts*
Posted

Considered an InPutBox? As in:

 

Dim password As String
       password = InputBox("Re-enter your password.  Your Password may not be left blank.", "Password Confirmation")

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...