Sign in to follow this  
Followers 0
Gillboss

Help font

9 posts in this topic




Use GUICtrlSetColor to set color and GUICtrlSetFont for font & size, but seriously this stuff is not exactly hidden in the helpfile. Save yourself some time and look in it next time :D


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

can u give me example please? ty..

here code..:

GUICtrlCreateLabel("Bot Control :", 20, 25, 60, 20 )

how change color or size..

Edited by Gillboss

Share this post


Link to post
Share on other sites

GUICtrlCreateLabel("Bot Control :", 20, 25, 60, 20 )
GUCtrlSetColor(-1,0xFF0000) ; Makes the text red
GUICtrlSetFont(-1,18,400,"","Georgia") ; Makes the text non-fat 18 size Georgia


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

coool ty.. and what is blue..?

Share this post


Link to post
Share on other sites

0x0000FF; Blue

0x00FF00; Green

0x000000; Black

0xFFFFFF; White

0x00FFFF; Cyan (I think)

Those are a few.

Share this post


Link to post
Share on other sites

thanks =]

Share this post


Link to post
Share on other sites

Hi Gill,

You can do search on Google on "HTML color codes." Here is one of the example:

HTML Color Code


Henry

Share this post


Link to post
Share on other sites

thank you henry :D

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