Article View: borland.public.cppbuilder.nativeapi
Article #8448Re: EnumFonts and TStringList
From: Vladimir Stefanovic
Date: Sun, 24 Oct 2004 05:48
Date: Sun, 24 Oct 2004 05:48
13 lines
1360 bytes
1360 bytes
> Alternatively, look at the global TScreen::Fonts
> property. Then you don't have to call EnumFonts()
> yourself manually.
FontNameComboBox->Items->Assign( Screen->Fonts );
FontNameComboBox->ItemIndex =
FontNameComboBox->Items->IndexOf( "Arial" );
FontNameComboBox->Sorted = true;
Best regards,
Vladimir Stefanovic
Technical Details
Message-ID:
<417b4201@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<417ac708$1@newsgroups.borland.com> <417b0186$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b8af8b1ec2f90521 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <spam@not.needed> Newsgroups: borland.public.cppbuilder.nativeapi References: <417ac708$1@newsgroups.borland.com> <417b0186$1@newsgroups.borland.com> Subject: Re: EnumFonts and TStringList Date: Sun, 24 Oct 2004 07:48:19 +0200 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.116.180 Message-ID: <417b4201@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1098596865 213.137.116.180 (23 Oct 2004 22:47:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail