Normal Topic populating combo box values on the fly (Read 774 times)
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
populating combo box values on the fly
Mar 1st, 2004 at 11:33pm
Print Post Print Post  
I see this is possible with a textbox using a popup menu.  But can I populate the Edit Choices of a combo box by doing an XListValues?

Thanx
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: populating combo box values on the fly
Reply #1 - Mar 2nd, 2004 at 1:22pm
Print Post Print Post  
The next release includes a new SBasic command that does this.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
Re: populating combo box values on the fly
Reply #2 - Mar 10th, 2004 at 11:42pm
Print Post Print Post  
Re: Next release: Is that the same as populating a combo box from a text file? Or is that feature available now?
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: populating combo box values on the fly
Reply #3 - Mar 10th, 2004 at 11:53pm
Print Post Print Post  
Quote:
Re: Next release: Is that the same as populating a combo box from a text file? Or is that feature available now?


Not directly. The new function takes a string with semicolon separated values as an argument. If your text file contains a semicolon separated list of values, just use @Insert to read the file into a string variable, then hand the variable to the new function. If your text file just contains values, you'll need to string them together yourself into a semicolon separated list.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
Re: populating combo box values on the fly
Reply #4 - Mar 23rd, 2004 at 9:58pm
Print Post Print Post  
what is the new function that does this?

thanx
  
Back to top
IP Logged
 
FSGROUP
Full Member
***
Offline


No personal text

Posts: 179
Location: Edmonton, Alberta, Canada
Joined: Jan 14th, 2004
Re: populating combo box values on the fly
Reply #5 - Mar 23rd, 2004 at 10:02pm
Print Post Print Post  
never mind. sorry.
  
Back to top
IP Logged