TSplitter Persistence problem
- From: samjones@xxxxxxxxxxxx (samjones)
- Date: 22 Aug 2005 16:15:55 GMT
I have a form setup with 3 Panels and 2 Splitters as follows:
Panel3
Splitter2
Panel2
Splitter1
Panel1
Everything is alBottom aligned except Panel3 which is aligned
alClient.
At FormClose I save Panel1.Height and Panel2.Height and at
FormCreate I restore these 2 values.
Problem is, if I execute the program and move say Splitter2 up
some then Close the Form and Reopen it, I get the following:
Panel3
Splitter2
Splitter1
Panel2
Panel1
It looks like the controls are maybe loosing their index
locations. Do I need to maybe reindex the controls at the end
of FormCreate and If so how would I do that?
Any help apprecicated.
.
- Follow-Ups:
- Re: TSplitter Persistence problem
- From: Rob Kennedy
- Re: TSplitter Persistence problem
- From: Maarten Wiltink
- Re: TSplitter Persistence problem
- Prev by Date: Re: Which Delphi to make good looking XP programs?
- Next by Date: Re: Which Delphi to make good looking XP programs?
- Previous by thread: Get last boot-date/time in Windows
- Next by thread: Re: TSplitter Persistence problem
- Index(es):
Relevant Pages
|