🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #121

Re: TTabSheet.Caption

#121
From: adalberto baldini
Date: Mon, 06 Mar 2006 13:28
30 lines
1992 bytes
Waiting to gain access to > borland.public.delphi.vcl.components, I 
found my problem. I use :
   TB_Amb_3.Caption := s ;
and it works when windows is displayed and visible.
As I perform it when form is being created, in onactivate event , I 
don't get expected result .
Any suggestion?
Adalberto


Wayne Niddery [TeamB] wrote:

> Adalberto Baldini wrote:
> 
>>With D7 at run time I try to change  caption of TTabSheet in
>>TPageControl. I get it only when Pagecontrol has only 1 sheet.
>>With 3 sheets Caption doesn't change.
> 
> 
> For D7 (Win32) this question should be asked in one of the 
> borland.public.delphi.vcl.components.using groups.
> 
> I cannot reproduce the problem, I'm able to change the caption of any 
> tabsheet using:
> 
>   PageControl1.Pages[x].Caption := 'Some New Caption';
> 
> Try showing us the code you are using (but in one of the above mentioned 
> groups, not here).
> 
Technical Details
Message-ID: <440c3900$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <440aa72d$1@newsgroups.borland.com> <440b20a3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,91c7a7addaf6787b
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 06 Mar 2006 14:28:33 +0100
From: adalberto baldini <finman@swissonline.ch>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.delphi.winforms.controls.using
Subject: Re: TTabSheet.Caption
References: <440aa72d$1@newsgroups.borland.com> <440b20a3$1@newsgroups.borland.com>
In-Reply-To: <440b20a3$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.203.167.218
Message-ID: <440c3900$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1141651712 62.203.167.218 (6 Mar 2006 05:28:32 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail