Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / December 2006

Tip: Looking for answers? Try searching our database.

SpliterContainer Control VS2005 ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JerryWEC - 08 Dec 2006 20:57 GMT
Hi all!  Happy holidays!

I'm using this new SpliterContainer control in a vb2005 project.  It works
better then the older spliter control. However, I have the SpliterContainer
control set for Horizontal spliter with a listbox on top and textbox on the
bottom and this all works fine with one minor problem.  There is space
between my listbox and my spliter on top of the spliter (Panel1).  This
extra space is at the bottom of the listbox between the listbox and the
spliter.  I have the listbox to anchor to Top, Left and Dock to Fill.  I
can't seem to make the extra space that I don't need to go away.  As you
move the spliter up and down it somes does go away.  Is this space a known
bug (issue) or is there a way to make it work right?

Thanks in advance!

JerryM
Herfried K. Wagner [MVP] - 08 Dec 2006 21:54 GMT
"JerryWEC" <JerryWEC@newsgroups.nospam> schrieb:
> I'm using this new SpliterContainer control in a vb2005 project.  It works
> better then the older spliter control. However, I have the
[quoted text clipped - 6 lines]
> go away.  As you move the spliter up and down it somes does go away.  Is
> this space a known bug (issue) or is there a way to make it work right?

No, this space is by design.  Check out the listbox control's
'IntegralHeight' property.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>

JerryWEC - 08 Dec 2006 22:12 GMT
Herfried, this is what I needed.  When I set this property to False it
worked a I expected it to work.  Why does this property do this and what it
the purpose of this functionality?  Great job Herfried!

Thanks JerryM
Herfried K. Wagner [MVP] - 08 Dec 2006 22:54 GMT
"JerryWEC" <JerryWEC@newsgroups.nospam> schrieb:
> Herfried, this is what I needed.  When I set this property to False it
> worked a I expected it to work.  Why does this property do this and what
> it the purpose of this functionality?

If the property is set to 'True' (which is the default) the listbox
control's height is adjusted to show only an integral number of items (none
of the items is partially covered).

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.