🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creation order of all controls

#532
From: Remy Lebeau (TeamB)
Date: Mon, 28 Jan 2008 17:38
19 lines
1712 bytes
"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: <479e12f2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.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: <479dd907@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-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <479dd907@newsgroups.borland.com>
Subject: Re: Creation order of all controls
Date: Mon, 28 Jan 2008 09:38:41 -0800
Lines: 21
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <479e12f2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201541874 207.178.157.90 (28 Jan 2008 09:37:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.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