Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NotificationMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Notifications MBS DataTypes Plugin 10.4 Yes Yes Yes Yes No
Function: The class for an application internal notification.
Example:
dim n as new NotificationMBS("DatabaseChangedNotification")
NotificationMBS.send(n)
Notes:
The point of notifications is to inform some other part of your application about something. For example a chart updating if the user enters data in textfields.

So you register for notifications in existing classes/windows with the NotificationReceiverMBS interface. Or you create a subclass of the NotificationObserverMBS class to receive notifications

All notifications are delivered on the same thread as the send method. If needed we could have an asyncron notification system. Please email for that.

Other notifications:

NSNotification: Notifications send from the Cocoa frameworks within your application over NSNotificationCenterMBS class or send across all applications with NSDistributedNotificationCenterMBS.

MacNotificationMBS: A notification message to the user which may have a sound, a message box and/or a jumping dock icon.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:


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


NotificationCenterMBS   -   NotificationObserverMBS




Links
MBS Xojo blog