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 

Bold a word on Gui...

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



Joined: 09 Jan 2009
Posts: 104

PostPosted: Sun May 31, 2009 11:14 am    Post subject: Bold a word on Gui... Reply with quote

Hello.. I want to bold a word from a sentence in gui.. is it possible?

eg:
Code:
Gui, Add, Text, x48 y10 w220 h30 , Hello, %name%!


I want to bold the Name variable..

Thank you
Back to top
View user's profile Send private message MSN Messenger
Guest






PostPosted: Sun May 31, 2009 12:00 pm    Post subject: Reply with quote

I don't think it can be done without breaking the text into separate fields, like this:
Code:
name = JimKarvo
Gui, Add, Text,, Hello,%A_Space%
Gui, font,bold
Gui, Add, Text, X+0, %name%
Gui, font
Gui, Add, Text, X+0, !
gui,show
return
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