Select Directory Dialogs In #Delphi XE8 Firemonkey On Windows and OSX

Delphi XE8 Firemonkey Select Directory Windows OSXIf you are building a multi platform app in Delphi XE8 Firemonkey for Windows and OSX you may have need of a select directory dialog box. Both platforms have their own unique APIs for creating this dialog box. Here is a code snippet which wraps up both APIs into a single easy to use function. On Windows it uses SHBrowseForFolder and on OSX it uses TNSOpenPanel. The function doesn’t provide a dialog for IOS or Android. However, it should also work in Appmethod. Here is the code snippet:

Head over and check out more information about Conditional Compilation in Delphi XE8 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Select Directory Dialogs In #Delphi XE8 Firemonkey On Windows and OSX by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

One Response to Select Directory Dialogs In #Delphi XE8 Firemonkey On Windows and OSX

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE8 Firemonkey Code Completion Engine Object Pascal Android IOS
Code Completion Engine Source Code For #Delphi XE8 Firemonkey On Windows And OSX

A BSD licensed code completion engine is now available for Delphi XE8 Firemonkey. One of the core functionalities that is...

Close