Bert Posted April 10, 2006 Share Posted April 10, 2006 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? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Bert Posted April 10, 2006 Author Share Posted April 10, 2006 (edited) duh...GUISetFont..... For some reason I didn't see it... Edited April 10, 2006 by vollyman The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jpm Posted April 11, 2006 Share Posted April 11, 2006 duh...GUISetFont..... For some reason I didn't see it...Good you get it by yourself Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now