Can I Load RTF formatted string into listbox?

Posted on 2005-04-19
Last Modified: 2013-12-25
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?
Question by:gar7
    1 Comment
    LVL 85

    Accepted Solution

    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

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    VB error "Type mismatch" 2 31
    VBA to copy paste columns form one file to other 20 73
    MsgBox 2 29
    vb6 connector to SQL Server 2 23
    Article by: Martin
    Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now