File Open Helpers

BlitzMax Forums/BlitzMax Beginners Area/File Open Helpers

Hi All

And thanks in advance for any help you kindly give!

Are there any pre-made gadgets for opening files? For example if I have 'File'->Open menu option and the user clicks this, is there a ready made 'open file' Gadget or do I need to create on from scratch?

If so how do I get this to existing seperately from my main window, appear when require, pass the filename back to my main and then disappear....Sorry I know its a multi answer question!

Thanks!

local file:string=Requestfile(filename)
Just test it, it does what your want.

Search the docs for "filesystem".