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

Displays the receiver and begins the modal loop using the shared NSPrintInfo object.

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
NSCancelButton if the user clicks the Cancel button; otherwise, NSOKButton.
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)