Article View: borland.public.cppbuilder.nativeapi
Article #12123Re: Adding BS_MULTILINE to a radio button fails
From: Fernando
Date: Mon, 29 Dec 2003 16:14
Date: Mon, 29 Dec 2003 16:14
30 lines
1853 bytes
1853 bytes
On Mon, 29 Dec 2003 01:15:25 -0800, Bob Gonder <notbg@notmindspring.invalid> 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. It fits. > 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 For example? O:-) >3) Provide scroll bars How can I do that?
Technical Details
Message-ID:
<okk0vvssb3sqtm1heh1pl5uafe43mlpep7@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<oqrouv0va2iimdujpr5ordonsf92og80of@4ax.com> <qf0uuv08ts7kmm5di5tvoetpsrrgvvoov0@4ax.com> <pv5uuvot05pa877s8vq31ritrbfmjcdvtu@4ax.com> <24rvuv4506d7mli0jq7q7up236updn8lb8@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 08:21:21 PST From: Fernando <frr@easyjob.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Adding BS_MULTILINE to a radio button fails Date: Mon, 29 Dec 2003 17:14:15 +0100 Message-ID: <okk0vvssb3sqtm1heh1pl5uafe43mlpep7@4ax.com> References: <oqrouv0va2iimdujpr5ordonsf92og80of@4ax.com> <qf0uuv08ts7kmm5di5tvoetpsrrgvvoov0@4ax.com> <pv5uuvot05pa877s8vq31ritrbfmjcdvtu@4ax.com> <24rvuv4506d7mli0jq7q7up236updn8lb8@4ax.com> X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 217.127.66.80 X-Trace: newsgroups.borland.com 1072714453 217.127.66.80 (29 Dec 2003 08:14:13 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail