Jump to content
Xtreme .Net Talk

setting fonts to listbox items


Recommended Posts

Guest takapenkki
Posted

I am having BIG difficulties in inserting different fonts in each listbox item. My goal is to create a listbox where all fonts are displayed with their name and the style of that particular font. Is there any example available on net or anywhere? I have tried to use lot's of ownerdraw examples but those are way too complicated and most of the time code examples are also buggy. I have also tried to use drawstring method of Graphics class. Is this what I am trying to achieve too difficult or has anyone tried to make anything similar?

 

Thanks,

Takis

Guest takapenkki
Posted

Thanx big time! This really helped me! I just got my own solution working somehow but this was far better and simplier than mine. I had problems with the fonts that couldn't be seen on regular style and now this solved the problem too. Huge thanks! This was quick!

 

best regards,

Takis

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...