PDA

View Full Version : Dialoge.Input with multiple lines


yss
08-07-2005, 05:43 PM
Dialoge.Input with multiple lines

Is this possible?

For use with things like entering username / password combinations.

Any ideas? :huh

Corey
08-07-2005, 06:08 PM
Hi, the input dialog isn't equipped for that. For a password/username combo simply use two input dialogs, i.e. ask for the username and then the password. Typically it is standard design practice to use two input objects for password combos, not a single multiline input. Hope that helps. :)

yss
08-07-2005, 08:17 PM
Hi Corey,

Thanks, but what I had in mind was more then the user/pass combo.
I need to input 3 or 4 fields in a popup style input box i.e name, user, password, authentication No. etc.

Could be a usefull addition to the releases/plugins one day...

Thanks again,
Joe

Corey
08-07-2005, 09:09 PM
Don't forget you can easily create a second app, i.e. with several input boxes, which you can launch from your main app as a pop-up, i.e. similar to the authorization tools you see in most new software. There's several ways you can pass back data from that second app to your main app, i.e. write it to a text file, etc. This gives you maximum flexibility of your look and layout, and it also allows you to add encryption to your input. :) :yes

yss
08-07-2005, 10:08 PM
Again, Thank you,

The drawback to the another app method is space, it will increase the size of the original app by more then a meg.

Regretfully, size is a major issue for me.

Thanks for the advice :p

Joe

Corey
08-07-2005, 10:38 PM
Might be a good job for an .hta application. I'm no expert though, here's an overview:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/hta/overview/htaoverview.asp

Dermot
08-07-2005, 11:26 PM
Version 6.0 might make this a bit easier, well at least look better. Because you can resize the window when you open a page you could create your password dialog page with what ever fields and buttons you want and have it resize to what ever size you want 9as small as possible) and customize it so it looks like a popup dialog. On your main page you would have a button that jumps to your password dialog. Because it resizes it will look like a different screen

I know your main page will disapear when your dialog page opens but that's not a big deal. It's not perfect but it is simple and it keeps it all in one application and keeps the coding as simple as possible.

I had hoped we could have popup pages in 6.0 oh! well maybe 7.0 :D

Of course if your project can't wait till 6.0 is out then forget what what I said.

JimS
08-08-2005, 04:42 AM
Of course if your project can't wait till 6.0 is out then forget what what I said.

Or you can get Worm's SetMask dll, and do it today. ;)

Good idea Dermot.:yes

yss
08-08-2005, 08:23 AM
Thank you for all the advices :p

Joe