func_system_requestdir.rst 736 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .. _func_system_requestdir:
  2. ==========
  3. RequestDir
  4. ==========
  5. RequestDir -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. RequestDir$( text$,initial_path$="" )
  10. Display system folder requester.
  11. @text is used as the title of the file requester.
  12. @initial_path is the initial path for the folder requester.
  13. Note that a user interface may not be available when in graphics mode on some platforms.
  14. Parameters
  15. ==========
  16. Return Values
  17. =============
  18. The path of the selected folder or an empty string if the operation was cancelled.
  19. Examples
  20. ========
  21. .. code-block:: blitzmax
  22. ' requestdir.bmx
  23. path$=RequestDir("Select a Folder",CurrentDir())
  24. Print "directory selected was "+path
  25. See Also
  26. ========