Re: TSplitter Persistence problem
- From: samjones@xxxxxxxxxxxx (samjones)
- Date: 23 Aug 2005 14:44:38 GMT
Thanks Rob,
I'm developing on win32 Delphi coming from Visual Studio C#.
Silly my assumed Delphi's Controls array would work something
like C#'s(.Net) which uses the Controls index for positional
information.
The following did the trick:
Store each Panel's Top property and Height property.
Restore each Panel's Top property in sequence from bottom up.
Restore each Splitter's Top property using:
Splitter1.Top := Panel1.Top-1; //thanks again Rob
Restore each Panels Height property.
So to find say the control above a splitter, would you loop
through Controls looking for the control whose Top property is
closest to, but still above (smaller value) splitter.Top? Is
this the preferred way to maneuover around a Delphi(win32)
control container?
.
- Follow-Ups:
- Re: TSplitter Persistence problem
- From: Rob Kennedy
- Re: TSplitter Persistence problem
- References:
- Re: TSplitter Persistence problem
- From: Rob Kennedy
- Re: TSplitter Persistence problem
- Prev by Date: Re: Looping thru components
- Next by Date: Re: Looping thru components
- Previous by thread: Re: TSplitter Persistence problem
- Next by thread: Re: TSplitter Persistence problem
- Index(es):
Relevant Pages
|