I just want to remove selected text in list box (1) by pressing remove button. Sorry for poor explaination.
elseif ($did == 5) {
if (
$did($dname,1).seltext) {
did -d $dname 1 $did($dname,1).sel
}
if (
$did($dname,2).seltext) {
did -d $dname 2 $did($dname,2).sel
}
}
Checks to see weather if listbox 1 has selected text or 2 or bothvoila so anytime you select anything from weather whatever box it will delete contents