First off, I'd suggest reading a good tutorial, as there are some very basic errors in your code. You can find a good one at http://helpdesk.zaz.net/documents/dialog/dialog.html.

Now on to your code:

First your even syntax. From the help-file one would get this:
on 1:dialog:name:event:id: { ... }
I count three 'parameters' in that (name, event, id), where you only have two (yup, you forgot to specify the id)

Second, the "edit" specification you use. From the help-file one would get this:
edit text in editbox or combo box changed.
Yours is a listbox, where "edit" apparantly only works on a editbox (sounds fair don't you think, editing a editbox), or a combo box (which basically is a editbox).

Third, your actual actions. You use
did -a caca 1 List hola
Now this would literally print the text List hola into your listbox, which somehow I doubt you wanted to do.

So the suggested solution now is to read some tutorials, and decide on what you want. Your code indicates that you want to fill your listbox with values, the moment a user starts typing in any value. Strange thing to do. You probably want to use a button that the user pushes to fill the list (you would use sclick for the event), or fill the listbox with values when you create the dialog (you would then use init for the event).

But again -- start with the tutorial, work through it, do the examples (don't look at them, actually work them out), and frequently reference the helpfile for syntax.

Loc




DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius