🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7247

Can't set font Styles

#7247
From: Sabetay Toros
Date: Tue, 22 Feb 2005 22:45
17 lines
1346 bytes
Hi,

This question was asked in the using groups.  It turns out that either 
my computer can't hadle or there is an error. So I want to set the font 
style by Windows API. How can I do this. Any suggestions ?


Thanks;

In the following code snippet the program sets the variable fs to Bold. 
But the Property of the Font cant be updated. What am I doing wrong?
I'm Using Builder 6;

Sabetay

         TFontStyles fs  = TFontStyles() << fsBold;
         RprMemo->Font->Style = fs;
Technical Details
Message-ID: <421bb608@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,aa0d017ae269b1dd,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 23 Feb 2005 00:45:28 +0200
From: Sabetay Toros <bilsarbiz@ttnet.net.tr>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Can't set font Styles
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.213.124.231
Message-ID: <421bb608@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109112328 81.213.124.231 (22 Feb 2005 14:45:28 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail