• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Can I Load RTF formatted string into listbox?

I have two RTF textboxes. I concantenate the two txtboxes with a tab character in between and load into a listbox. In the first RTF txtbox, I have "New Card - REJECTED". The user can strikethrough entire string or partial string. For example when I strikethrough the word "REJECTED", when I concantenate the two txtboxes and load into listbox the strikethrough disappears. I would like to load the concantenated string with the strikethrough into the listbox and then into an Access database if possible. Does that sound feasible?
1 Solution
Mike TomlinsonMiddle School Assistant TeacherCommented:
The ListBox does not support items with different fonts.  To achieve that you must subclass the ListBox and manage the drawing of each item yourself:

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now