AutoHotkey Community

It is currently May 26th, 2012, 6:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: multi color text
PostPosted: February 12th, 2009, 6:21 pm 
Offline

Joined: February 8th, 2009, 5:52 pm
Posts: 47
hi,

what would be a simple way to display text in more than one color? For instance, "This is [color=blue]blue [/color]and this is [color=red]red[/color]"

Code:
Gui, Add, text, cRed, y0 x10, This is blue and this is red
Gui, Show


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: multi color text
PostPosted: February 12th, 2009, 6:45 pm 
It cannot be done, except by creating separate text controls, and applying a color to each of them.

If you will consider using an edit control instead of a text control, this post may be helpful cRichEdit - Standard RichEdit control for AutoHotkey scripts


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: batto, Bing [Bot], Google Feedfetcher and 62 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group