Ask/Answer Problem

Robert Presender rpresender at earthlink.net
Mon Oct 28 22:35:01 EST 2002


Hi,
using OS 10.2.1, Rev 1.1.1r2 / 1.5A7r1

Have a test stack with 1 fld and 1 btn.
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

Will appreciate any help. I'm stuck!

Regards ... Bob




More information about the use-livecode mailing list