MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

OpenDialogMBS class

class, Navigation, MBS Util Plugin (OpenDialog), class OpenDialogMBS,
Plugin version: 4.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: No, Feedback.

Function: A class for a multiple selection open dialog.
Example:
dim o as OpenDialogMBS
dim i,c as Integer
dim f as FolderItem

o=new OpenDialogMBS
o.ShowHiddenFiles=true
o.PromptText="Select one or more files:"
o.MultipleSelection=true
o.ActionButtonLabel="Open files"
o.CancelButtonLabel="no, thanks."
o.WindowTitle="This is a window title."
o.ClientName="Client Name?"
o.ShowDialog

c=o.FileCount
if c>0 then
for i=0 to c-1
f=o.Files(i)

Listbox1.AddRow f.AbsolutePath
next

else
// MsgBox "no file was selected."
quit
end if
Notes: OpenDialogMBS does not yet use NSOpenPanel yet. So for Cocoa applications you can use NSOpenPanelMBS class directly. For the Mac App Store, you must use NSOpenPanelMBS and avoid OpenDialogMBS.

This class has no sub classes.

Some examples which use this class:


The items on this page are in the following plugins: MBS Util Plugin.


OpenDialogFileTypeMBS   -   OpenSSLExceptionMBS




Links
MBS FileMaker tutorial videos