AutoHotkey Community

It is currently May 27th, 2012, 6:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 

How should we name controls that allow text to be entered by the user?
Poll ended at September 20th, 2004, 1:30 pm
Input (reminiscent of InputBox) for single-line and "Edit" for multi-line 25%  25%  [ 2 ]
"Edit" for single-line controls and "EditArea" for multi-line 13%  13%  [ 1 ]
"Edit" for both types (with an option letter to set multi-line) 38%  38%  [ 3 ]
"Input" for both types 0%  0%  [ 0 ]
Other 25%  25%  [ 2 ]
Total votes : 8
Author Message
PostPosted: September 5th, 2004, 1:30 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Another poll :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2004, 7:34 pm 
Offline

Joined: April 15th, 2004, 5:33 pm
Posts: 181
EditSingle
EditMulti
or
Edit, S
Edit, M

does this make sense :?:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2004, 7:36 pm 
Offline

Joined: September 4th, 2004, 8:44 pm
Posts: 74
Location: UK
how about UserInput?

jack


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2004, 7:50 pm 
Offline

Joined: March 2nd, 2004, 10:10 pm
Posts: 443
Location: SLC, Utah
I didn't mind edit and editarea, but I like the idea better of having both named edit with an optional parameter.

thanks,
beardboy


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2004, 8:08 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Quote:
EditSingle
A little too long to easily remember, I think.
Quote:
Edit, S
Hard to have commas inside a parameter without escaping them, and the alternative (EditS/EditM) is not a very readable.

Quote:
how about UserInput?
Seems too verbose?


Quote:
I like the idea better of having both named edit with an optional parameter
Maybe I can have it auto-detect the type of edit via the height specified: if that height in pixels equates to more than 1.5 lines for the currently selected font, it would be a multi-line edit by default. This might lead to ambiguity problems, but I'll certainly look into it.

All your comments and votes are definitely appreciated (more are of course welcome).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2004, 9:09 pm 
Offline

Joined: April 15th, 2004, 5:33 pm
Posts: 181
Huh , ...
Quote:
Hard to have commas inside a parameter

this ...
Quote:
Edit, S
Edit, M

meant that :!:

Quote:
"Edit" for both types (with an option letter to set multi-line)

:wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2004, 9:18 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I get it now. Thanks.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group