Centring text in max

BlitzMax Forums/BlitzMax Beginners Area/Centring text in max

ok this one should be easy for you ;OP

drawing text to a small box that prints an objects discription when you how the mouse over it. the only think is the discriptions are different leights so i cant use the setimagehandle command, unless theres a way of reading how long a string is and the i could just get that and devide by 2.

Pete

try textwidth or the len() function

thanks textwidth worked great, these commands are easy to miss in the manual.

these commands are easy to miss in the manual.

Try this as I found it helps.

thanks textwidth worked great, these commands are easy to miss in the manual.


I see what you did there... :)