Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/MacCF/ATS/ATS fontnames list
Function:
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 fontnames list
This example is the version from Sun, 17th Mar 2012.
Project "ATS fontnames list.rbp"
Class Window1 Inherits Window
Control ListBox1 Inherits Listbox
ControlInstance ListBox1 Inherits Listbox
End Control
EventHandler Sub Open() dim a as ATSFontListMBS dim i,c as integer dim cc as integer dim f as ATSFontNameMBS a=new ATSFontListMBS c=a.Count for i=0 to c-1 ListBox1.AddRow str(a.FontID(i)) cc=a.FontNameCount(i) ListBox1.Cell(ListBox1.LastIndex,1)=str(cc) // strange number!? f=a.FontName(i,1) if f<>Nil then ListBox1.Cell(ListBox1.LastIndex,2)=f.Name end if next 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.





Links
MBS FileMaker Plugins