Sign in to follow this  
Followers 0
Pumagaju

SplashTextOn Help

2 posts in this topic

Is there a way to have this SplashTextOn autosize based on the length of the message?

For example I use the following to place it in the upper right hand corner:

SplashTextOn ("Altiris", "Portfolio Center 4.40 is installing ... ", 200, 25, 825, 0, 33, "MS Sans Serif", 10)

Also, is there a way to default the box to the far right hand side regardless of screen resolution?

Thanks,

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I guess you could calculate roughly the length of one character, and multiplying that by the number of chars in your text(StringLen), then when you have the length of the string, you can set the width of your splash to that.

To auto-size, it can be done by subtracting the width of your splash from @DesktopWidth. :)

Edited by FreeFry

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