> The in the upper panel i have put a listbox wit dock property to fill
> . The problem is that when i move the splitter up and down the
> distance between the lower border of the listbox and the splitter
> vary . How can i avoid this?? where is the problem?
A listbox displays per default only completely visible items (not half
items at the bottom). So the height of the list box changes in steps of
an items height.
To solve your problem use:
ListBox.IntegralHeight = false;
From the .NET Framework Docs:
Gets or sets a value indicating whether the control should resize to
avoid showing partial items.
hth
Markus