AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

multi color text

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
firace



Joined: 08 Feb 2009
Posts: 28

PostPosted: Thu Feb 12, 2009 5:21 pm    Post subject: multi color text Reply with quote

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
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Feb 12, 2009 5:45 pm    Post subject: Re: multi color text Reply with quote

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
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group