Jump to content

Label - color per line


rCANE
 Share

Recommended Posts

hi guys! sorry for my question if its too greeny, but i can't find a solution for this (because i'm probably a novice).

1st.:

  • i want to create a label...
    GUICtrlCreateLabel
    ...and that label will have a minimum 1 line and max 5 lines of text...
  • ...and then i want to color each line with a different color, something like...
    GUICtrlSetColor
    - set the controlID, the color and the line
  • is it possible to do this?

2nd.:

  • i want to apply that each-line-coloring thing to...
    GUICtrlCreateEdit
  • is it possible to do this too?

thanks for any replies!

Link to comment
Share on other sites

MrCreatoR made a UDF to simulate a single label with multicoloured text.

It actually makes use of individual labels, but his UDF makes managing it all pretty easy

http://www.autoitscript.com/forum/index.php?s=&showtopic=96986&view=findpost&p=697258

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...