CFPreferencesMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

CFPreferencesMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
A class for the core foundation preferences services.
Example
Sub Open()
// in a listbox on a window, list all preferences applications for the current user
dim c as CFArrayMBS
dim p as CFPreferencesMBS
dim i as Integer
dim count as Integer
dim o as CFObjectMBS
dim s as CFStringMBS

p=new CFPreferencesMBS
c=p.CopyApplicationList(p.kCFPreferencesCurrentUser, p.kCFPreferencesAnyHost)

count=c.Count-1
for i=0 to count
o=c.Item(i)
if o isa CFStringMBS then
s=CFStringMBS(o)
window1.listbox1.AddRow s.str
end if
next

Title=str(ListBox1.ListCount)+" "+Title
End Sub

Search for Apple Developer documentation on CFPreferences for details on functionality these plugin functions provide.

This class has no sub classes.

Some examples using this class:

Blog Entries


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


CFObjectMBS   -   CFProxyMBS


💬 Ask a question or report a problem