Sign in to follow this  
Followers 0
anixon

SplashTextOn

3 posts in this topic

In this code example is it possible to change the color of the variable $message (RUNNING) and have it display in any color of choice - Green for Example:

CODE
Global $Title = "My Message Box"

_MessageAndLog(2000, 250,50, "RUNNING")

Func _MessageAndLog($delay,$width, $height, $Message)

SplashTextOn($Title, $message, $Width, $Height, -1, -1, 32, "times new roman", 10, 600)

;//Length of display in milliseconds

Sleep($Delay)

SplashOff()

EndFunc

Assistance is always appreciated. Ant.. :P

Share this post


Link to post
Share on other sites



Nope, you have to create your own gui to do that. Open the helpfile and check the example for GUICtrlSetColor() and you should get the idea :P

Was trying to avoid a GUI like this example I use to control color

GUICreate($Title, 385, 340, -1, -1)

GUISetBkColor(0xE0FFFF)

GUISetState()

Will probably have to live with what I have coded in the meantime. [Well until I get the time to change what I have already coded]. Thanks for your help Ant..

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