🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pilot.programmer
Article #28

Re: multiline label on button

#28
From: Gavin Maxwell
Date: Fri, 06 Sep 2002 03:47
27 lines
2331 bytes
You could use WinDrawChars to do this as well - then you don't have to worry
about Label controls - but you will have to worry about updating the text as
required.


Gavin.

Ben Combee <combee@techwood.org> wrote in message
news:MPG.17dfe08cc99b8ae598986d@news.earthlink.net...
> In article <30890494.0209040714.52ea024d@posting.google.com>,
> david_ladanyi@yahoo.com says...
> > Hi
> >
> > I can't figure out how to put a multiline label on a button. I've
> > tried inserting \n, \r, \r\n, \n\r both at design time in Constructor
> > and at run time using the CtlSetLabel function and nothing works. The
> > \n and \r sequences translate to little ASCII squares, not new lines.
> > How can I get this to work? I'm testing with the emulator only - could
> > that be the problem?
>
> Buttons don't support multiline labels.  If you've seen them, they've
> been buttons with no label, with a separate Label object overlapping
> them.
> --
> Ben Combee <bcombee@metrowerks.com>
> CodeWarrior for Palm OS technical lead
> Get help at http://palmoswerks.com/
Technical Details
Message-ID: <ezVd9.19981$Dr5.81455@news-server.bigpond.net.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail
References: <30890494.0209040714.52ea024d@posting.google.com> <MPG.17dfe08cc99b8ae598986d@news.earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c638,c903d2009540d20a
X-Google-Attributes: gid10c638,public
X-Google-Thread: 10baa0,c903d2009540d20a
X-Google-Attributes: gid10baa0,public
X-Google-ArrivalTime: 2002-09-05 20:47:23 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail
From: "Gavin Maxwell" <gavin@pocketscience.com.au>
Newsgroups: pilot.programmer,codewarrior.palm
References: <30890494.0209040714.52ea024d@posting.google.com> <MPG.17dfe08cc99b8ae598986d@news.earthlink.net>
Subject: Re: multiline label on button
Lines: 29
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
Message-ID: <ezVd9.19981$Dr5.81455@news-server.bigpond.net.au>
Date: Fri, 06 Sep 2002 03:47:22 GMT
NNTP-Posting-Host: 203.45.113.6
X-Complaints-To: news@bigpond.net.au
X-Trace: news-server.bigpond.net.au 1031284042 203.45.113.6 (Fri, 06 Sep 2002 13:47:22 EST)
NNTP-Posting-Date: Fri, 06 Sep 2002 13:47:22 EST
Organization: BigPond Internet Services (http://www.bigpond.net.au)