View Single Post
  #7 (permalink)  
Old 04-13-2008, 02:57 PM
agraham's Avatar
agraham agraham is online now
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,372
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by Dave Mitchell View Post
I was also looking for a way to find installed fonts. I can get the font filenames (cour.ttf, etc.), but not the name to pass to the setfont routine (Courier)
Some what belatedly I attach a bit of code showing how to display a Font Selection Dialog and assign the chosen font to a control. This only works on the desktop and of course needs the Door library. My example in the Door thread Door library (Beta) - Special library has a Font object example.
Attached Files
File Type: sbp FontDialog.sbp (1.0 KB, 5 views)

Last edited by agraham : 04-13-2008 at 03:38 PM.
Reply With Quote