Tremorblue
Programmer
Hi I have a list box on the form and populate it with the windows fonts.
ListBox1->Items = Screen->Fonts;
Is there a way to remove the .fon fonts from this list and just leave the .ttf files.
for (int i = 0; i < Screen->Fonts->Count; i++)
{
if( font is .ttf ) // What goes here ??
ListBox1->Items->Add(Screen->Fonts->Strings);
}
Thanks,
TremorB.
ListBox1->Items = Screen->Fonts;
Is there a way to remove the .fon fonts from this list and just leave the .ttf files.
for (int i = 0; i < Screen->Fonts->Count; i++)
{
if( font is .ttf ) // What goes here ??
ListBox1->Items->Add(Screen->Fonts->Strings);
}
Thanks,
TremorB.