Results 1 to 4 of 4

Thread: SET a new font in a single line of listbox

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,580

    SET a new font in a single line of listbox

    pseudo code:

    ...

    .additem "test"

    ...

    i need to change the default font of listbox, only for the "test" value, possible?

    actually i use me.font =arial

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: SET a new font in a single line of listbox

    No, Edit controls use a single font. They don't have markup so nothing else would be possible.

    You want a RichEdit control like the one inside the RichTextBox instead.

  3. #3
    PowerPoster
    Join Date
    Feb 2017
    Posts
    4,997

    Re: SET a new font in a single line of listbox

    Quote Originally Posted by dilettante View Post
    Edit controls...
    Listbox = Edit?

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: SET a new font in a single line of listbox

    I guess I need new glasses. I could have sworn it said TextBox. Clearly I was blind.

    ListBox is another story and we just discussed that the other day. Owner-drawn control.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width