Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSwitchMBS class.

NSSwitchMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new button with size 100/100 and position 0/0
Example
dim t as new NSSwitchMBS

On success the handle property is not zero.

See also:

NSSwitchMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new button with size 100/100 and position 0/0
Example
dim t as new NSSwitchMBS

On success the handle property is not zero.

See also:

NSSwitchMBS.Constructor(left as double, top as double, width as double, height as double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 22.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new button with the given size and position.
Example
dim x as new NSSwitchMBS(0, 0, 100, 100)

On success the handle property is not zero.

See also:

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


The biggest plugin in space...