๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Creation order of all controls

#534
From: Carlos
Date: Mon, 28 Jan 2008 18:57
38 lines
2284 bytes
Hello Clayton,

I need iterate all controls in a TForm for check errors and show it if 
necesary.
I my form exists PageControls, Panels, groupbox... it is a problem for make 
visible a control inside of a tab not visible

I would like an order iteration (like taborder) for check controls.

Thank you.

"Clayton Arends" <nospam_claytonarends@hotmail.com> escribi๏ฟฝ en el mensaje 
de noticias news:479e02e7$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 ?
>
> You can hand edit the DFM file and put the controls in the order you'd 
> like.
>
> You can cut-and-paste all controls to a temporary form and then 
> cut-and-paste each control back one at a time in the proper order.
>
>> I need obtain all controls order by taborder for sequence check.
>
> Look at the method TWinControl::FindNextControl().  It allows you to look 
> for controls using TabOrder.
>
>> any ideas?
>
> If you can explain what you are trying to accomplish then I might have 
> more ideas.
>
> Clayton
> 
Technical Details
Message-ID: <479e2597@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <479dd907@newsgroups.borland.com> <479e02e7$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> <479e02e7$1@newsgroups.borland.com>
In-Reply-To: <479e02e7$1@newsgroups.borland.com>
Subject: Re: Creation order of all controls
Date: Mon, 28 Jan 2008 19:57:10 +0100
Lines: 39
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: <479e2597@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201546647 80.38.17.40 (28 Jan 2008 10:57:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail