not to post whole design/code

problem is in 2 controls

edit control (ID 2)
button control (ID 5)

thing i want is that while edit control (2) is empty
that button is disabled, and vice versa.

but this code doesnt work for me smirk

on *:dialog:dialog_name:edit:2:{
if ($did == $null) { did -b $dname 5 }
else { did -e $dname 5 }
}


IceCapped