forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Adding to the list in a combo element

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
trapper
Contributor
Contributor


Joined: 28 Jan 2005
Posts: 112
Location: Brisbane, Australia

PostPosted: Wed Jun 29, 2005 10:19 am    Post subject: Adding to the list in a combo element Reply with quote

According to the help file content for the combo element... "Data entered in the edit control is automatically inserted into the drop-down list when the focus moves away from the control."

Can someone provide a short script example of this? It doesn't seem to work. It seems to need a command such as "list add, combo1, @dlgtext(combo1)" to do it.

Cheers.

_________________
John Trappett
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Wed Jun 29, 2005 12:45 pm    Post subject: Reply with quote

Unless CR made their combobox a custom control, the help file is incorrect.
It doesn't work that way in C/C++. Items must be added with the
CB_ADDSTRING or LB_ADDSTRING messages. All the edit box is for is to
allow a user to enter text that isn't provided in the drop-down list.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
trapper
Contributor
Contributor


Joined: 28 Jan 2005
Posts: 112
Location: Brisbane, Australia

PostPosted: Wed Jun 29, 2005 8:22 pm    Post subject: Reply with quote

Thanks Bill. Knowing that I can code it in. I thought for a moment I must have been doing something wrong.

Cheers.

_________________
John Trappett
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group