Jump to content

SplashTextOn


Recommended Posts

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

Link to comment
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..

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...