Sign in to follow this  
Followers 0
Mast3rpyr0

text color

6 posts in this topic




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

#5 ·  Posted (edited)

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  
Followers 0