Platforms to show: All Mac Windows Linux Cross-Platform

NSProgressIndicatorMBS class

Super class: NSViewMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Controls MBS MacControls Plugin 8.4 Yes No No Yes, macOS only No
Function: The NSProgressIndicator class lets an application display a progress indicator to show that a lengthy task is under way.
Some progress indicators are indeterminate and do nothing more than spin to show that the application is busy. Others are determinate and show the percentage of the task that has been completed.

This also eliminates the hung appearance is you move the window or open a menu. Unlike the RB progress controls that pause when you do these things, the Cocoa version continues to update.

You can embed this view in a CustomNSViewMBS to get more events for mouse and keyboard.
Subclass of the NSViewMBS class.

Feedback, Comments & Corrections

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

Some methods using this class:

Some examples which use this class:

The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacControls Plugin.

NSProcessInfoMBS   -   NSRangeMBS

The biggest plugin in space...

MBS Xojo tutorial videos