Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Text Colour

aza_2001aza_2001 Member Posts: 123
[b][red]This message was edited by aza_2001 at 2004-3-16 10:25:17[/red][/b][hr]
Hi

Is it possible to make the colour of a specific line in a list box a different colour in Vb, i.e. Red?

Thanks


Comments

  • BitByBit_ThorBitByBit_Thor Member Posts: 2,444
    : [b][red]This message was edited by aza_2001 at 2004-3-16 10:25:17[/red][/b][hr]
    : Hi
    :
    : Is it possible to make the colour of a specific line in a list box a different colour in Vb, i.e. Red?
    :
    : Thanks
    :
    :
    :

    Not in a normal textbox. The color counts for the entire text.
    If you use, on the other hand, a RichTextField control you can do everything an RTF-file can. Collors per letter and all.
    If you don't want to use this control, you can always go to some more 'Exotic' methods, such as using API's!

    Greets...
    Richard

  • Gurpreet2311Gurpreet2311 Member Posts: 326

    : Not in a normal textbox. The color counts for the entire text.
    : If you use, on the other hand, a RichTextField control you can do everything an RTF-file can. Collors per letter and all.
    : If you don't want to use this control, you can always go to some more 'Exotic' methods, such as using API's!

    [blue]
    Excerpt from aza previous post [code][b] in a list box [/b][/code]
    [/blue]
    [b]Regards
    Er. [blue]Gurpreet Singh [/blue](B.E [blue]Mech.)[/blue][/b]
    [hr]



  • BitByBit_ThorBitByBit_Thor Member Posts: 2,444

    : [blue]
    : Excerpt from aza previous post [code][b] in a list box [/b][/code]
    : [/blue]
    : [b]Regards
    : Er. [blue]Gurpreet Singh [/blue](B.E [blue]Mech.)[/blue][/b]
    : [hr]

    Woopsie... Misread that one. I'd say no because it doesn't have a property called SelColor or ListColor. Just ForeColor!
    The best I can give you is the RTF, but that's definitely not a listbox!


    Greets...
    Richard

Sign In or Register to comment.