MonobjcMonobjc Documented Class Library
RunModal Method
NamespacesMonobjc.AppKitNSSavePanelRunModal()()()()

Displays the panel and begins its event loop with the current working (or last selected) directory as the default starting point.

Original signature is '- (NSInteger)runModal'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger RunModal()
Public Overridable Function RunModal As NSInteger
public:
virtual NSInteger RunModal()
Return Value
NSFileHandlingPanelOKButton (if the user clicks the OK button) or NSFileHandlingPanelCancelButton (if the user clicks the Cancel button).
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)