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 


I am suffering from a LIST COMBO confusion...

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


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Tue Apr 23, 2002 11:16 am    Post subject: I am suffering from a LIST COMBO confusion... Reply with quote

For instance:-

DIALOG ADD,COMBO,COMBO1,170,16,180,21,BusinessType,,LIST,CLICK,EXIT

adds a drop down list to my dialogs. I have populated the list with 40odd items.

I then read in a value from a database that matches exactly an item within the COMBO boxes list, but I cannot find a way to display that value, even though it is a valid value. DIALOG SET does not work; LIST PUT neither etc.,

HELP??!!
Crying or Very sad

_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Apr 23, 2002 11:33 am    Post subject: Reply with quote

Try @match(), it should display the match if found.
Code:

LIST SEEK, COMBO1, 0
if @not(@match(COMBO1, %%mydata))
   INFO No match found...
end


Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Tue Apr 23, 2002 12:06 pm    Post subject: Reply with quote

Mac

Yes! That works!

Easy when yoiu know how.


Thanks a lot!


Andy

_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
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