🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Inheriting from TCustomComboBox

#17275
From: Rusty
Date: Thu, 27 Mar 2003 16:48
18 lines
1438 bytes
Nevermind.  I wasn't setting the Style property correctly.  If you're
curious, I was doing the following:

inherited::Style << csOwnerDrawFixed;
FStyle << cbStandardColors
           << cbExtendedColors
           << cbSystemColors;

Instead, I should have been doing this:

inherited::Style = csOwnerDrawFixed;
FStyle = FStyle.Clear( );
FStyle << cbStandardColors
          << cbExtendedColors
          << cbSystemColors;

All the Best,
Rusty
Technical Details
Message-ID: <3e832b5b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nnxp1.twtelecom.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e832142$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c12ea0098efc8bfe
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-27 08:54:09 PST
Reply-To: "Rusty" <rustyr@redstorm.com>
From: "Rusty" <rustyr@redstorm.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e832142$1@newsgroups.borland.com>
Subject: Re: Inheriting from TCustomComboBox
Date: Thu, 27 Mar 2003 11:48:27 -0500
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 208.221.166.2
Message-ID: <3e832b5b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048783707 208.221.166.2 (27 Mar 2003 08:48:27 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nnxp1.twtelecom.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail