🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: label caption problems

#4920
From: Bob Gonder
Date: Sun, 13 Nov 2005 16:53
12 lines
1524 bytes
Alfred wrote:

>The text is not "10%" but it is "10%%". It look like the last characher is not deleted. I have tryed with Label->repaint and refresh but the problem persist...

Some things to look into...(I don't know if they help or not)
Look at the AutoSize property.
Look at the Invalidate method

>have tried with Label->caption = " "; too and it look like only some pixel of the text was cleared.
>How I can fix it ?

When all else fails, add spaces after the % as in "5%   "
Technical Details
Message-ID: <4dren191tnll8s0imkqtia3i6hq2d9fo2b@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43774c1f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3a1e9dc5d0330ead
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: label caption problems
Date: Sun, 13 Nov 2005 08:53:09 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <4dren191tnll8s0imkqtia3i6hq2d9fo2b@4ax.com>
References: <43774c1f$1@newsgroups.borland.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: 69.69.87.189
X-Trace: newsgroups.borland.com 1131900750 69.69.87.189 (13 Nov 2005 08:52:30 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail