Re: TSplitter Persistence problem
- From: samjones@xxxxxxxxxxxx (samjones)
- Date: 22 Aug 2005 20:51:38 GMT
for i:=0 to ControlCount-1 do
Controls[i].Name;
This results in the following index sequence:
0 = Splitter1
1 = Splitter2
2 = Panel1
3 = Panel2
4 = Panel3
Delphi returns this same sequence when the controls are
positioned properly or with the problem positioning. Therefore
I assume Delphi does not use the Controls array sequence to
define the controls position in a container. In C#, Controls
determines the position in the container and Controls.SetIndex
(Splitter1,1) would move Splitter1 to the second position in the
container.
So how does Delphi determine the position of a control in a
container? And more importantly how do we manipulate it?
.
- Follow-Ups:
- Re: TSplitter Persistence problem
- From: Rob Kennedy
- Re: TSplitter Persistence problem
- References:
- Re: TSplitter Persistence problem
- From: Maarten Wiltink
- Re: TSplitter Persistence problem
- Prev by Date: Re: TSplitter Persistence problem
- Next by Date: Re: TSplitter Persistence problem
- Previous by thread: Re: TSplitter Persistence problem
- Next by thread: Re: TSplitter Persistence problem
- Index(es):
Relevant Pages
|