Sign in to follow this  
Followers 0
McGod

Combo fonts

2 posts in this topic

Alright. im making a gui and I'm using combos.

Now IF i use a

GUICtrlSetFont(-1, 9, 800, 0, "Trebuchet MS")

After it, all I get is a black bar and no pop up :P

Works:

GUICtrlCreateCombo("Items", 576, 152, 113, 26)
GUICtrlSetData(-1, "Rings|Amulets|Circlets" )

Doesnt Work:

GUICtrlCreateCombo("Items", 576, 152, 113, 26)
GUICtrlSetData(-1, "Rings|Amulets|Circlets" )
GUICtrlSetFont(-1, "", "", 0, "Trebuchet MS")

Any way i could use fonts and combos?

Share this post


Link to post
Share on other sites



I got the same as you, but it works if you switch the order of SetData and SetFont.

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