on *:dialog:DIALOG_NAME:*:*: {
if ($devent == init) {
echo -s $dname opened.
if ($devent == sclick) {
if ($did == 10) { echo -s $did }
elseif ($did == 11) { echo -s $did }
}
if ($devent == edit) {
if ($did == 10) { echo -s $did(10).text }
; don't know how you can make one id (10) do two things tho
}
if ($devent == mouse) {
; maybe this one is something for you.
if ($did == 10) { echo -s mouse is on $did }
}
}