Sign in to follow this  
Followers 0
cdnnewbie

Position A Splashtexton Box

4 posts in this topic

Good Morning....

I have a splashtext on command that I would like to center on the screen depending on what the users screen size is... so if the user is 640x480 then i want it centered in that screen and at the same time if another person has it displayed then I would love it to automatically move its self that center point....

SplashTextOn("Please wait...", "Command Antivirus is currently updating.", 350, 25, @DESKTOPWIDTH/2, @DESKTOPHEIGHT/2, 0, "", 12)

Above is the code I am using. I have check to make sure that I have everything set the way its supposed to be and it still not working....

Any help is greatly appreciated...

:D


[quote]He who smiles in a crisis has found someone to blame[/quote]

Share this post


Link to post
Share on other sites



Try ..

SplashTextOn("Please wait...", "Command Antivirus is currently updating.", 350, 25)

.. default is centered :D

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Have been away from AutoIt for a while now, but I think center-positioning for

the SplashText is the same for almost all the others : -1

SplashTextOn("Please wait...", "Command Antivirus is currently updating.", -1, -1)
Edited by Helge

Share this post


Link to post
Share on other sites

Thanks for the help guys... it perfect now.

:D


[quote]He who smiles in a crisis has found someone to blame[/quote]

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