list 1, 5 5 70 60
edit "", 2, 5 62 70 10, autohs
button "rem", 5, 26 85 20 10
elseif ($did == 5) { did -d $dname 1 $did($dname,2).sel }
I tried to remove selected word on listbox 1. But didnt working. I got this
/did: invalid parameters (line 35, script3.ini)
Thanks
Um when removing a line from a listbox you might want to use the SAME ID witrhin the did command example listbox
elseif ($did == 5) { did -d $dname 1 $did($dname,1).sel }
would remove the word in listbox one if listbox 1 had a word selectled
notice how you use $did($dname,
2).sel
in a editbox you can clear the line by using did -r $dname ID this will clompletely erase a line in a editbox