Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

NSAlertMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa MBS MacCocoa Plugin 14.2 Yes No No Yes, macOS only No
Function: The class for a standard Cocoa alert.

Feedback, Comments & Corrections

Return codes

Constant Value Description
NSAlertFirstButtonReturn 1000 First (rightmost) button
NSAlertSecondButtonReturn 1001 Second button.
NSAlertThirdButtonReturn 1002 Third button.

Alert styles.

Constant Value Description
NSCriticalAlertStyle 2 Critical Error
NSInformationalAlertStyle 1 Informational Alert
NSWarningAlertStyle 0 Warning Alert (Default style)

This class has no sub classes.

Some examples which use this class:

Blog Entries

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

NSAffineTransformMBS   -   NSAnimationContextMBS

The biggest plugin in space...

MBS Xojo tutorial videos