Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

/MacCF/ATS/ATS Font List
Required plugins for this example: MBS MacCF Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacCF/ATS/ATS Font List
This example is the version from Sun, 17th Mar 2012.
Project "ATS Font List.rbp"
Class Window1 Inherits Window
Control List Inherits ListBox
ControlInstance List Inherits ListBox
End Control
EventHandler Sub Open() dim i as ATSFontIteratorMBS dim f as ATSFontMBS dim s as CFStringMBS dim t as string i=new ATSFontIteratorMBS f=i.NextFont while f<>nil s=f.Name List.AddRow s.str s=f.PostscriptName if s<>nil then List.cell(List.LastIndex,1)=s.str end if f=i.NextFont wend End EventHandler
Property Protected files As folderitem
End Class
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

Feedback, Comments & Corrections

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

MBS Xojo Plugins