Platforms to show: All Mac Windows Linux Cross-Platform

Back to ABAddressBookMBS class.

ABAddressBookMBS.defaultAccount as ABAccountMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 15.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Queries default account.
Example
dim a as new ABAddressBookMBS
MsgBox a.defaultAccount.Name

(Read only property)

ABAddressBookMBS.defaultCountryCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the default country code for records without specified codes.

Available in Mac OS X 10.3 or newer.
(Read only property)

ABAddressBookMBS.defaultNameOrdering as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the default name ordering defined by the user in the Address Book preferences.

Possible values: kABFirstNameFirst or kABLastNameFirst
Available in Mac OS X 10.3 or newer.
(Read only property)

ABAddressBookMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The handle to the used ABAddressbook object.

(Read and Write property)

ABAddressBookMBS.hasUnsavedChanges as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns true if they are unsaved changes.

The unsaved changes flag is automatically set when changes are made.
(Read only property)

Some examples using this property:

ABAddressBookMBS.owner as ABPersonMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Addressbook MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the person that represents the user.

Returns nil if "me" was never set.
(function is not named me as me is a reserved word in Xojo)
(Read only property)

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


The biggest plugin in space...