Jump to content
Sign in to follow this  
Mast3rpyr0

text color

Recommended Posts

orange

I feel stupid i cant find this anywhere, how do i change te text color? lol

lookup guictrlsetcolor()

Share this post


Link to post
Share on other sites
Gif

That looks like it would work (ha your names orange). will that work with guictrlcreatelabel() or do i have to use the text thing?

#include <GuiConstants.au3>
GuiCreate("...", 110, 25)
GuiCtrlCreateLabel("Yes, that would work", 5, 5, 100, 15)
GuiCtrlSetColor(-1, 0xFFFFFF)
GuiSetState()

While 1
$Nmsg = GuiGetMsg()
If $Nmsg = $GUI_EVENT_CLOSE Then Exit
WEnd

EDIT: you are not able to change those files but copy it near your script ,change what you want and use:

e.g. #include "MyGuiConstants.au3"

Edited by c4nm7

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.