Platforms to show: All Mac Windows Linux Cross-Platform

NSMakePointMBS(x as double, y as double) as NSPointMBS
global method, Cocoa, MBS REALbasic CocoaBase Plugin (NSBase), Console safe, Plugin version: 9.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Creates a NSPoint object based on coordinates.
NSMakeRangeMBS(location as UInt32, length as UInt32) as NSRangeMBS
global method, Cocoa, MBS REALbasic CocoaBase Plugin (NSBase), Console safe, Plugin version: 9.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Creates a new range with the given values.
NSMakeRectMBS(x as double, y as double, w as double, h as double) as NSRectMBS
global method, Cocoa, MBS REALbasic CocoaBase Plugin (NSBase), Console safe, Plugin version: 9.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Creates a NSRect object based on coordinates and size.

Some examples using this method:

NSMakeSizeMBS(w as double, h as double) as NSSizeMBS
global method, Cocoa, MBS REALbasic CocoaBase Plugin (NSBase), Console safe, Plugin version: 9.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Creates a NSSize object based on a size.

Some examples using this method:

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




Links
MBS Realbasic tutorial videos - Pfarrgemeinde St. Arnulf Nickenich