Article View: borland.public.cppbuilder.nativeapi
Article #12118Re: Adding BS_MULTILINE to a radio button fails
From: Bob Gonder
Date: Mon, 29 Dec 2003 09:15
Date: Mon, 29 Dec 2003 09:15
25 lines
1997 bytes
1997 bytes
Fernando wrote: >On Sun, 28 Dec 2003 08:19:12 -0800, Bob Gonder <notbg@notmindspring.invalid> >wrote: > >>Fernando wrote: >> >>>If I try to add the BS_MULTILINE style to a TRadioBon that is on a TTabStrip, >>>it fais. If the same TRadioButton is on the form, it works fine. =:-O >>> >>>What's going wrong???? >> >>What does GetLastError() say is wrong? > >"The window has no scrollbars". >How can I workaround this? Sounds like your TabStrip is too small to hold more than one line of text for the Radio Button, so Win thinks it needs scroll bars to display the text. I see several options: 1) Increase the size of the TabStrip so the text fits 2) Replace the TabStrip with something else that will handle multiline buttons 3) Provide scroll bars 4) Use single line buttons.
Technical Details
Message-ID:
<24rvuv4506d7mli0jq7q7up236updn8lb8@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!news-out1.newsfeeds.com!propagator2-maxim!news-in-maxim.spamkiller.net!teleglobe.net!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<oqrouv0va2iimdujpr5ordonsf92og80of@4ax.com> <qf0uuv08ts7kmm5di5tvoetpsrrgvvoov0@4ax.com> <pv5uuvot05pa877s8vq31ritrbfmjcdvtu@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3777a8848f83194a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-29 01:23:18 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Adding BS_MULTILINE to a radio button fails Date: Mon, 29 Dec 2003 01:15:25 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <24rvuv4506d7mli0jq7q7up236updn8lb8@4ax.com> References: <oqrouv0va2iimdujpr5ordonsf92og80of@4ax.com> <qf0uuv08ts7kmm5di5tvoetpsrrgvvoov0@4ax.com> <pv5uuvot05pa877s8vq31ritrbfmjcdvtu@4ax.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.249 X-Trace: newsgroups.borland.com 1072689324 67.31.165.249 (29 Dec 2003 01:15:24 -0700) Lines: 28 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!news-out1.newsfeeds.com!propagator2-maxim!news-in-maxim.spamkiller.net!teleglobe.net!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail