Jump to content
Sign in to follow this  
McGod

Combo fonts

Recommended Posts

McGod

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
Helge

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.