dialog FileServer {
title "File Server"
size -1 -1 160 120
option dbu
tab "File Server", 1, -2 -2 159 119
text "Trigger", 2, 21 20 18 7, tab 1
button "Accept", 3, 30 102 37 12,ok, tab 1
button "Reset", 4, 79 102 37 12, tab 1
text "Fserve Directory", 5, 3 33 43 8, tab 1
text "Welcome File(Not Required)", 6, 0 49 67 8, tab 1
edit %input1, 8, 69 19 70 10, tab 1
edit %input2, 9, 69 33 69 10, tab 1
edit %input3, 10, 69 48 70 10, tab 1
}
if ($did == 3) {
%input1 = $did(8)
%input2 = $did(9)
%input3 = $did(10)
}
if ($did == 4) {
did -r fileserver 8
did -r fileserver 9
did -r fileserver 10
}
%input1 %input2 and %input3 are editboxes
ID 3 is ACCEPT button
ID 4 is RESET button
add: for some nice reason this dialog doesnt work at me lol and it should...