Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight
Listbox ItemHeight Listbox ItemHeight
Listbox ItemHeight
Go Back  Xtreme Visual Basic Talk > > > Listbox ItemHeight


Reply
 
Thread Tools Display Modes
  #1  
Old 09-19-2014, 08:27 PM
VB_Alien VB_Alien is offline
Senior Contributor
 
Join Date: Apr 2004
Posts: 854
Default Listbox ItemHeight


I'm putting together a listbox control that supports
an image property and an alternating background
color.

Everything seems to be working fine except when i
change font sizes. The font. if i selected a larger
font, draws itself outside it's rectangle.

I can change the itemheight but i don't know at
which point that i should change it and by how much.

I'm starting out at itemheight +=5 in sub new
and it looks pretty good with a font size of 10.

At what point should i change the itemheight and
by how much? Does it go by the size of the font?
Reply With Quote
  #2  
Old 09-20-2014, 02:37 PM
VB_Alien VB_Alien is offline
Senior Contributor
 
Join Date: Apr 2004
Posts: 854
Default

Never Mind. Figured it out.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight Listbox ItemHeight
Listbox ItemHeight
Listbox ItemHeight
 
Listbox ItemHeight
Listbox ItemHeight
 
-->