🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pilot.programmer
Article #32

Re: multiline label on button

#32
From: Ben Combee
Date: Wed, 04 Sep 2002 15:20
18 lines
1923 bytes
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: <MPG.17dfe08cc99b8ae598986d@news.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <30890494.0209040714.52ea024d@posting.google.com>

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-04 08:20:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
From: Ben Combee <combee@techwood.org>
Newsgroups: pilot.programmer,codewarrior.palm
Subject: Re: multiline label on button
Message-ID: <MPG.17dfe08cc99b8ae598986d@news.earthlink.net>
References: <30890494.0209040714.52ea024d@posting.google.com>
Organization: Techwood Broadcasting Foundation
X-Newsreader: MicroPlanet Gravity v2.60
Lines: 18
Date: Wed, 04 Sep 2002 15:20:14 GMT
NNTP-Posting-Host: 24.206.100.29
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 1031152814 24.206.100.29 (Wed, 04 Sep 2002 08:20:14 PDT)
NNTP-Posting-Date: Wed, 04 Sep 2002 08:20:14 PDT