Jump to content
Sign in to follow this  
rCANE

Label - color per line

Recommended Posts

rCANE

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
rCANE

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
ResNullius

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.