Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

NSAlertMBS class

class, Cocoa, MBS Cocoa Plugin (NSPanel), class NSAlertMBS,
Plugin version: 14.2, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The class for a standard Cocoa alert.

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:

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

NSAffineTransformMBS   -   NSAnimationContextMBS

MBS Xojo PDF Plugins