Pumagaju Posted March 17, 2008 Share Posted March 17, 2008 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, Link to comment Share on other sites More sharing options...
FreeFry Posted March 18, 2008 Share Posted March 18, 2008 (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 March 18, 2008 by FreeFry Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now