| View previous topic :: View next topic |
| Author |
Message |
arcray Valued Contributor


Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Tue Apr 23, 2002 11:16 am Post subject: I am suffering from a LIST COMBO confusion... |
|
|
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??!!
 _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Apr 23, 2002 11:33 am Post subject: |
|
|
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  _________________ 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 |
|
 |
arcray Valued Contributor


Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Tue Apr 23, 2002 12:06 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|