|
-
Jul 28th, 2005, 05:20 AM
#1
Thread Starter
Lively Member
[RESOLVED] Popup text box
What code would I use to make a question box popup asking the user to enter some information, EG their name, and on clicking OK, the information is submitted. If they click cancel, then an error pops up saying they have to select an answer.
Cheers.
-
Jul 28th, 2005, 05:26 AM
#2
Re: Popup text box
You can use the InputBox function for simplicity if you don't have an issue with VB Runtime functions (members of the Microsoft.VisualBasic namespace). Look it up in the help for more info. Personally, I think the dialogue displayed is ugly so I wouldn't use it. I have a standard layout for all my dialogues so I create my own form to do it. If you choose that route, you would basically do exactly what was discussed in your earlier threads: call ShowDialog and retrieve a property value when the form is dismissed.
-
Jul 28th, 2005, 05:35 AM
#3
Thread Starter
Lively Member
Re: Popup text box
Cheers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|