Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

/MacCF/ATS/ATS FontFamily 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 FontFamily List
This example is the version from Sun, 17th Mar 2012.
Project "ATS FontFamily List.rbp"
Class Window1 Inherits Window
Control List Inherits ListBox
ControlInstance List Inherits ListBox
End Control
EventHandler Sub Open() dim i as ATSFontFamilyIteratorMBS dim f as ATSFontFamilyMBS dim s as CFStringMBS dim t as string i=new ATSFontFamilyIteratorMBS f=i.NextFontFamily while f<>nil s=f.Name List.AddRow s.str // Why doesn't RB show this UTF8 string correctly for japanese fonts? t=f.QuickDrawName List.cell(List.LastIndex,1)=t f=i.NextFontFamily wend End EventHandler
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 Chart Plugins