๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creation order of all controls

#535
From: Carlos
Date: Mon, 28 Jan 2008 19:00
32 lines
2122 bytes
Hello Remy,

The problem of taborder is that container controls like tabsheet, panel,... 
defines a internal taborder.
I need iterate all controls inside form.

Regards


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escribi๏ฟฝ en el mensaje de 
noticias news:479e12f2$1@newsgroups.borland.com...
>
> "Carlos" <a@a.com> wrote in message 
> news:479dd907@newsgroups.borland.com...
>
>> I would like to change the creation order of all controls in
>> my form. What is the best way ?
>
> Creation order is dictated by the entries in the DFM.  The controls are 
> created in the order in which they are placed on the TForm/TDataModule at 
> design-time.  If you want to change the creation order, you have to 
> rearrange the DFM contents manually.
>
>> I need obtain all controls order by taborder for sequence check.
>
> Tab order has nothing to do with creation order.  Every control has its 
> own TabOrder property instead.  To obtain a list of controls based on tab 
> order, look at the TWinControl::GetTabOrderList() method.
>
>
> Gambit
> 
Technical Details
Message-ID: <479e2674$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <479dd907@newsgroups.borland.com> <479e12f2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c9cdd7c64c7a4e9
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: "Carlos" <a@a.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <479dd907@newsgroups.borland.com> <479e12f2$1@newsgroups.borland.com>
In-Reply-To: <479e12f2$1@newsgroups.borland.com>
Subject: Re: Creation order of all controls
Date: Mon, 28 Jan 2008 20:00:52 +0100
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 80.38.17.40
Message-ID: <479e2674$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201546868 80.38.17.40 (28 Jan 2008 11:01:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail