On Jan 25, 2012, at 2:08 PM, KOENIG Yvan wrote: Hello Luther. Which is the anormal behavior which you report ?
The button on the right in your first dialog isn't button 1, it's button 2. The buttons are numbered starting from the one on the left. In your sample code, button 1 is the Cancel one.
I told you that I haven't the slightest idea how to solve this. But, as this illustrates ...
display dialog "Enter ..." default answer "street_address" & return & "city, state zip"
you can do without the 'default button 1'. (No bug here!) I thought that was the cause of the behavior I was getting. Another quick experiment showed me that it's the 'return' in the default answer that uncouples the return key from the "OK" button. In fact, you can use ...
display dialog "Enter ..." default answer return
to uncouple the return key from the "OK" button. But it's not as informative. :)
|