MonobjcMonobjc Documented Class Library
RunModal Method

Runs the receiver as an application-modal dialog and returns the constant positionally identifying the button clicked.

Original signature is '- (NSInteger)runModal'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger RunModal()
Public Overridable Function RunModal As NSInteger
virtual NSInteger RunModal()
Return Value
Response to the alert. See this method’s “Special Considerations” section for details.
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)