BBGadTools
=BBFileRequest$(0-2[,Pattern$])
Description:
This Command Opens a FileRequester. With "0-2" you can define any Text for the
FileRequester. (Load-File/Save-File/Select-File) Pattern$ is an Optional Parameter.
With Pattern$ can you set the Pattern. ("*.bb" e.g.) Default is "*.*"
This Function will Return a Filename thats selected, or a empty String ("")
if the user have clicked "Cancel" or no Filename insert.
Parameter:
0 = Draws a "LOAD" Button.
1 = Draws a "SAVE" Button.
2 = Draws a " OK " Button.
Pattern$ = Pattern for the FileRequester. (Default ist "*.*" = Show all Files!)
(Pattern$ = Optional Parameter)
Example:
BBScreenMode(2) ; Opening a Screen in 800x600
BBScreenBar("MyTitleName")
File$=BBFileRequest$(2) ; Using Default ("*.*") as Pattern.
File$=BBFileRequest$(2,"*.bb") ; Using ("*.bb") as Pattern.
Include "C:\BBGadTools.bb"
Back to the Menu