Sign in to follow this  
Followers 0
Bert

Font Question

3 posts in this topic

Code example:

$font="Comic Sans MS"
$Input_1 = GuiCtrlCreateInput("", 8, 26, 84, 20)
$Group_2 = GuiCtrlCreateGroup("Search buckets", 2, 2, 176, 111)
$font1 = GUICtrlSetFont($group_2, 8.5,400, "",$font)
$Input_3 = GuiCtrlCreateInput("", 8, 52, 84, 20)
$font2 = GUICtrlSetFont($Input_3, 9, 400, "",$font)
$Input_4 = GuiCtrlCreateInput("", 8, 78, 84, 20)
$font3 = GUICtrlSetFont($Input_4, 9,400, "",$font)
$Label_5 = GuiCtrlCreateLabel("Incident", 99, 29, 45, 15)
$font4 = GUICtrlSetFont($Label_5, 8.5,400, "",$font)
$Label_6 = GuiCtrlCreateLabel("Request", 99, 55, 41, 13)
$font5 = GUICtrlSetFont($Label_6, 8.5,400, "",$font)
$Label_7 = GuiCtrlCreateLabel("Change orders", 99, 81, 71, 17)
$font6 = GUICtrlSetFont($Label_7, 8.5,400, "",$font)

How do I make it so I can set the font only once for the entire GUI instead of repeating it for each item?

Share this post


Link to post
Share on other sites



:( duh...GUISetFont..... :think:

For some reason I didn't see it...

Good you get it by yourself :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0