Loading an external file by selection

BlitzMax Forums/BlitzMax Beginners Area/Loading an external file by selection

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I don't have max GUI but I want to make a game where the player can load a single text file from the main folder that the game is in. I was thinking about making a button class and then make one instance of a button for each file in the main game folder. How could this or something similar be done? Basically the player just needs to see the files available and select one for loading.