Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSecureTextFieldMBS class.

NSSecureTextFieldMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 11.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new secure text field with size 100/100 and position 0/0
Example
dim t as new NSSecureTextFieldMBS

On success the handle property is not zero.

See also:

NSSecureTextFieldMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 11.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an object based on the given NSSecureTextField handle.
Example
dim t as new NSSecureTextFieldMBS(0, 0, 100, 100)
dim v as new NSSecureTextFieldMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)

The handle is casted to a NSSecureTextField and the plugin retains this handle.

See also:

NSSecureTextFieldMBS.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 MacCocoa Plugin 11.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new secure text field with the given size and position.
Example
dim x as new NSSecureTextFieldMBS(0, 0, 100, 100)

On success the handle property is not zero.

See also:

NSSecureTextFieldMBS.echosBullets as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 11.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver echoes a bullet character rather than each character typed.
Example
dim t as NSSecureTextFieldMBS // your textfield
t.echosBullets = true

If true, bullets are echoed. If false, the cursor is moved for each character typed, but nothing is displayed.
(Read and Write computed property)

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


The biggest plugin in space...