Sign in to follow this  
Followers 0
rCANE

Label - color per line

5 posts in this topic

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!

Share this post


Link to post
Share on other sites



thanks Zedna, i'll try and screech when i'll have further problems.

if anybody has a different idea or something to addenda this, just go on :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
thanks ResNullius! i think this is what i want :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0