I have a button with this script

on mouseUp
  doFileOpen
end mouseUp

And in the stack script

on doFileOpen
    answer file "Select a database file:" \
        with filter "Armbase Database File" & return & "*.abd"
  if it is empty then exit to top
  toplevel stack it
end doFileOpen

Hi Bob,

A couple of suggestions:

Are you using Rev 2.6? If so, there have been changes in the answer file filtering. They are detailed in the What's New text file.

What happens if you use no filtering and allow any file type to be selected?

Get your routine to "put" the file path before trying to open it and see if that looks correct.

Cheers,
Sarah

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to