AutoHotkey Community

It is currently May 27th, 2012, 3:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: October 24th, 2005, 7:21 pm 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
This is a sort of follow-up from this topic:
http://www.autohotkey.com/forum/viewtopic.php?t=5954

Are there any plans to enhance the Gui ComboBox so that you could display one thing but store a completely different value, rather like AltSubmit. Perhaps this could be done by adding another section or by having a delimiting character within the pipelines, e.g.:

Code:
Gui, Add, ComboBox, vChoice, Low|Medium|High, 100|200|300


or

Code:
Gui, Add, ComboBox, vChoice, Low,100|Medium,200|High,300


So that you would have the following stored for each selection:
Low = 100
Medium = 200
High = 300


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 25th, 2005, 2:04 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
It's a good idea, but in my opinion it's a little too obscure to become a built-in feature. You probably know that you can use an array to link each choice in a DropDownList or ComboBox to some external data (though I know arrays aren't the easiest things to use).

Other comments are welcome.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] 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