What's wrong with this code? (MaxGUI)

BlitzMax Forums/BlitzMax Beginners Area/What's wrong with this code? (MaxGUI)

po(Posted 2006) [#1]


I'm making a little font program which is supposed to load and display each font in your (Windows) font folder. The fonts load fine I think, as when you click each line, a different font shows. For some reason it is still displaying every font in arial. See anything wrong?


WendellM(Posted 2006) [#2]
I believe that a ListBox can only have one font for all contents. By putting in a Delay 50, I can see as each font is loaded - all the text in the ListBox changes to that font.

As for defaulting to Arial - when some fonts are loaded, they don't seem to load properly. At those points, I see all text return to Arial.


po(Posted 2006) [#3]
Ok, so I'm going to have to use something other than a list box then.. Thanks.