Platforms to show: All Mac Windows Linux Cross-Platform
ABPeoplePickerViewMBS class Deprecated
Super class: NSViewMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Addressbook | MBS MacControls Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
You can use CNContactViewControllerMBS class instead.
This is a view for Mac applications to select people from the addressbook.
The ABPeoplePickerView class allows you to customize the behavior of people-picker views in an application's user interface.
Use CocoaControlMBS control to put this view on a window.
You can embed this view in a CustomNSViewMBS to get more events for mouse and keyboard.
Subclass of the NSViewMBS class.
- 6 events
- event DisplayedPropertyDidChange
- event GroupDoubleClick
- event GroupSelectionDidChange
- event NameDoubleClick
- event NameSelectionDidChange
- event ValueSelectionDidChange
- 7 properties
- property accessoryView as NSViewMBS
- property allowsGroupSelection as boolean
- property allowsMultipleSelection as boolean
- property autosaveName as string
- property displayedProperty as string
- property valueSelectionBehavior as Integer
- property columnTitleForProperty(propertyName as string) as string
- 20 methods
- method addProperty(PropertyName as string)
- method clearSearchField
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as Double, top as Double, width as Double, height as Double)
- method deselectAll
- method deselectGroup(group as ABGroupMBS)
- method deselectIdentifier(identifier as string, person as ABPersonMBS)
- method deselectRecord(record as ABRecordMBS)
- method editInAddressBook
- method properties as string()
- method removeProperty(PropertyName as string)
- method selectedGroups as ABGroupMBS()
- method selectedIdentifiersForPerson(person as ABPersonMBS) as string()
- method selectedRecords as ABRecordMBS()
- method selectedValues as Variant()
- method selectGroup(group as ABGroupMBS, byExtendingSelection as boolean)
- method selectIdentifier(identifier as string, person as ABPersonMBS, byExtendingSelection as boolean)
- method selectInAddressBook
- method selectRecord(group as ABRecordMBS, byExtendingSelection as boolean)
- 4 shared methods
- shared method ABPeoplePickerDisplayedPropertyDidChangeNotification as string
- shared method ABPeoplePickerGroupSelectionDidChangeNotification as string
- shared method ABPeoplePickerNameSelectionDidChangeNotification as string
- shared method ABPeoplePickerValueSelectionDidChangeNotification as string
- 3 constants
Constants for the Selection Behavior type.
| Constant | Value | Description |
|---|---|---|
| ABMultipleValueSelection | 2 |
The user can select multiple values. |
| ABNoValueSelection | 0 |
The user cannot select individual values. |
| ABSingleValueSelection | 1 |
The user can select a single value. |
Super class NSViewMBS
Super class NSResponderMBS
This class has no sub classes.
Blog Entries
- Saying goodbye to AddressBook framework
- MBS Real Studio Plugins, version 13.0pr7
- MBS Real Studio Plugins, version 12.3pr10
Some properties using for this class:
- ABPeoplePickerViewControlMBS.View as ABPeoplePickerViewMBS
Some examples using this class:
- /MacCloud/Addressbook People Picker
- /MacControls/PeoplePickerView
- /MacFrameworks/Addressbook People Picker
Some related classes:
- class ABGroupMBS
- class ABPersonMBS
- class ABRecordMBS
- class CNContactViewControllerMBS
- class CustomNSViewMBS
- class NSResponderMBS
- class NSViewMBS
The items on this page are in the following plugins: MBS MacControls Plugin.
ABMutableMultiValueMBS - ABPersonMBS