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 

How to set the Fontsize for a single edit control

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



Joined: 24 Apr 2009
Posts: 87

PostPosted: Fri Jan 01, 2010 1:54 am    Post subject: How to set the Fontsize for a single edit control Reply with quote

Hi Guys,
i have searched the Helpfile,
but found no solution.

Is there a way to set the size for the font of a single Edit?
I do not want to use:

Code:

gui, font, s11, Verdana


Because it affects the whole GUI.

Thanks,
Deep-Silence
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 7295
Location: Australia

PostPosted: Fri Jan 01, 2010 2:32 am    Post subject: Reply with quote

Code:
gui, font, s11, Verdana
gui, add, edit,, This control is affected.
gui, font
Loop 10
    gui, add, edit,, This control is NOT affected.
gui, show

Quote:
Omit the last two parameters to restore the font to the system's default GUI typeface, size, and color
Source: Gui, Font [, Options, FontName]
Back to top
View user's profile Send private message Visit poster's website
Deep-Silence



Joined: 24 Apr 2009
Posts: 87

PostPosted: Fri Jan 01, 2010 3:01 am    Post subject: Reply with quote

Thanks Lexikos,

I guess i have overlooked it. (yawning)

Best Regards,
Deep-Silence
Back to top
View user's profile Send private message
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