hey,
what i need to do is be able to use an $input when my dialog doesnt find the script i search for
i made a dialog to search for .mrc files:
it displays the results in a list box
and if it doesnt display ny results i want an input box to
pop up and say search found nothing!
i use a timer to check if there is no text in the list box
but i dont know how
like
itried:
on *:DIALOG:bla:SCLICK:10: {
timer 1 3 //checksearch commands here
}
then:
alias check {
if ($did(dialog,19) == $null) {
if $input(Search Found Nothing,o,OK) {
halt
}
}
}i used a couple of other identifiers but they didnt seem to work either!!
second question i wanted to ask aswell:-
i have used the $input for quite a lot of things
and it works well when the ok button is pressed but
when i just click the cross
it carrys on with the rest of the script
please help me out with this
thanks alot