[ALLY] Difference between view and inform
From: mike::yaunish::home::com at: 23-Jun-2001 23:05
Working on getting this simple requester to work properly.
Something changed in Version 1.1 that I missed I guess.
Given:
simple-requester: layout [
across
f: field
button "pick file" [
print "before request-file"
b: request-file
print "after request-file"
f/text: copy b
show f ]
]
Then I do the following:
1. >> view simple-request
2. Click on the "pick file" button
3. "before request-file" prints out.
4. Then I select a file from the file requester.
5. "after request-file" print out.
6. And the "f" field updates with whatever I picked in the file requester.
But if I do this:
1. >> inform simple-request
2. Click on the "pick file" button
3. "before request-file" prints out
4. Then nothing happens ?? step 5 and 6 are deferred until I close the
pick file
window.
What do I need to do to get a modal dialog to work properly? I believe this
behaviour
has changed from the previous versions I was experimenting with.
Mike Yaunish
[mike--yaunish--home--com]