For a while now, to figure out how wide to make textboxes or what the maxlength should be, I've been filling my textboxes with the failsafe capital "W" to see what the maximum possible width of the text could be. But, now I'm trying to develop a scrolling marquee textbox and I'd like to programmatically find how wide a string is so I will know how much of it will fit in my textbox without wrapping. Is there a way to do this?