Platforms to show: All Mac Windows Linux Cross-Platform

NSSavePanelMBS class

Super class: NSPanelMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Navigation MBS MacCocoa Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The class for a Cocoa Save Panel.

dim n as new NSSavePanelMBS

dim e as integer = n.runModal

if e = n.NSCancelButton then
// cancelled
elseif e = n.NSOKButton then
// got file
dim file as FolderItem = n.file
end if

Subclass of the NSPanelMBS class.

Super class NSPanelMBS

Super class NSWindowMBS

Super class NSResponderMBS

Sub classes:

Some events using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 23.0
  • Version 20.1
    • Fixed NameFieldStringValue in NSSavePanelMBS to properly set with empty text.
  • Version 19.4
    • Fixed title property for NSSavePanelMBS to avoid NSException for empty string.

The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin.

NSRunningApplicationMBS   -   NSSavePanelObserverMBS

💬 Ask a question or report a problem
The biggest plugin in space...