| View previous topic :: View next topic |
| Author |
Message |
marculos Newbie
Joined: 08 Feb 2007 Posts: 17
|
Posted: Thu Feb 08, 2007 5:22 pm Post subject: Newbie Help with lists |
|
|
Hi,
Apologies as this will be very easy piece of code for you guys but I have given up trying to add some data to a list dialog, can someone please help !
Ok so I create a list
LIST CREATE,1,SORTED
LIST ADD,1,text1
LIST ADD,1,text2
then how do I add this list to a list dialog I have tried
DIALOG ADD,LIST,1,300,300,100,100
I know this is wrong but I can't find an example in the help files. I would be very grateful if someone can help. |
|
| Back to top |
|
 |
marculos Newbie
Joined: 08 Feb 2007 Posts: 17
|
Posted: Thu Feb 08, 2007 5:26 pm Post subject: |
|
|
| its ok just found the list append command ! sorry |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Fri Feb 09, 2007 3:48 pm Post subject: |
|
|
There are a few ways to add text to a list:
Add one line
list add,<list>,<text>
Clear list and add new item(s)
list assign,<list>,<text> (more values can be added at the same time by using @cr())
Append item(s) to end of list
list append,<list>,<text> (more values can be added at the same time by using @cr())
Add multiple items with shorthand
list loadtext,<list>
"Item1
"Item2
Replace item selected by "list seek" command
list insert,<list>,<text>
Besides these commands, you can also load and save text files and data from the clipboard, etc.
Hope this helps you if you want to explore VDS more  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| 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
|
|