rCANE Posted October 22, 2009 Posted October 22, 2009 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 lineis it possible to do this?2nd.: i want to apply that each-line-coloring thing to... GUICtrlCreateEditis it possible to do this too?thanks for any replies!
Zedna Posted October 22, 2009 Posted October 22, 2009 Use more labels (one label per line) or use another control type, for example ListBox: GUICtrlCreateLis() Resources UDF ResourcesEx UDF AutoIt Forum Search
rCANE Posted October 22, 2009 Author Posted October 22, 2009 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
ResNullius Posted October 23, 2009 Posted October 23, 2009 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
rCANE Posted October 23, 2009 Author Posted October 23, 2009 thanks ResNullius! i think this is what i want
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now