listbox and fonts

  • Thread starter Thread starter takapenkki
  • Start date Start date
T

takapenkki

Guest
Is it possible to define different font for each rows in listbox. When using:

Listbox ls
Dim font as Font = new Font ("Arial", 8)
ls.font() = font

all rows end up having same font. How to set different font for each rows. Is it possible with listbox, or should I add something like Label to listbox.

Thanks in advance,
Takis
 
You'll have to ownerdraw the listbox. There are several articles floating around on doing this in .NET.
 
Back
Top