Re: TSplitter Persistence problem



"samjones" <samjones@xxxxxxxxxxxx> wrote in message
news:4309fa3b$0$5676$c3e8da3@xxxxxxxxxxxxxxxxxxxx

> I have a form setup with 3 Panels and 2 Splitters as follows:
>
> Panel3
> Splitter2
> Panel2
> Splitter1
> Panel1
[...]
> At FormClose I save Panel1.Height and Panel2.Height and at
> FormCreate I restore these 2 values.

You could try to save the splitters' positions instead of the
panels' dimensions.

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Panels and Splitters
    ... put splitters between more than two windows. ... my splitters and panels are like that: ... When I drag a splitter up, it can go up as much as I want. ... splitters to make the panels much smaller, such as 15 pixels. ...
    (microsoft.public.dotnet.languages.csharp)
  • Do you like the SplitterContainer?
    ... I had a form with 6 panels separated by 5 splitters. ... The first container replace the first panel. ... Supposed the original were not panels but, say, pictureboxes. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How can I splite the form into four parts?
    ... I think what you want to do is add 4 panels to your Form ... (Splitters would be optional) ... About the Dock Property ... > How can I splite the form into four parts? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: making elements of a window form resizable
    ... Basically, you put a group of controls within a panel, and either dock ... Then you put panels within other panels, and dock them so that when the ... Then arrange the highest-level panels and splitters within the Form, ...
    (microsoft.public.dotnet.languages.csharp)