Have a test stack with 1 fld and 1 btn.Hello Robert,
Btn Script:
on mouseUp
answer "Please enter a name " with "OK" or "Yes" or "Cancel"
put it into fld 1
end mouseUp
on mouseUp
ask "Please enter a name"
put it into fld 1
end mouseUp
Both of the above scripts work OK in development (Application Overview).
A dialog appears, appropriate data entered and the results are put into the field.
When the the proj is doubled clicked (Rev not opened), no dialog appears but the
result in the field are for each case:
1. answer plain Please enter a name
2. ask plain Please enter a name
Both the answer and ask dialog are part of the Revolution UI, which is not started up when you doubleclick a project with rev not open. So the dialogs don't appear and the contents of 'it' are not filled in by the dialog. I am puzzled why you get the result you get instead of literally "it".
Solution: start Rev first or make a standalone. I don't think there is an other solution.
Terry
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution