Space saving with formatted text?

mwaite

Member
Licensed User
Hello,

I'm looking for some screen space-saving suggestions on the best way to present several paragraphs of formatted text. I'd like to present several paragraphs with a combination of bold, italics, and optionally color and/or font sizes.

Best I can figure is this would have to be accomplished with multiple labels with FormLib, however the tricky part then becomes sizing and positioning the labels to the exact text width, and to also take into account word-wrap.

Clever suggestions (or even not-so-clever ones:D) would be greatly appreciated.
 

RandomCoder

Well-Known Member
Licensed User
Why not just write directly on the form using DrawString, the colour and font style can be modified as you go :).
Not so sure that you can make text bold though :(

Regards,
RandomCoder
 

RandomCoder

Well-Known Member
Licensed User
I kind of thought that was what he was after. You could draw attention to different paragraphs/sections of text by using a different font etc.

Regards,
RandomCoder
 

mwaite

Member
Licensed User
Thank you gentlemen! This is exactly what I was looking for :)

I missed the StringWidth/StringHeight methods :signOops:
 
Top