Volume 1, issue 5

December 2003

 

TextFormatter

Our series article continues this month with code that breaks up a paragraph of text into its constituent white space and words measuring as it goes.  Then, see how the paragraph of text is reconstructed as lines that fit between margins and finally laid out again for display. 

A paragraph of text and its white space (marked in red).  

The demonstration code now has the ability to reformat text on-the-fly and make sure that a paragraph does not overflow the boundaries of the margins. 

Custom type editors. 

See how to create crop-down and dialog based type editors for use in the property grid. this comprehensive guide also shows you how to create a specialized type converter that enhances your users editing experience. In this article you'll see how to create a type editor which enables you to specify transparency of objects using a graphical interface and how to create a preview of the level of transparency which can be shown next to the value in the property grid. 

Drop-down and dialog based editors. 

Subscribe to Well Formed now. 

Find out what you've missed in previous months. 

August, 2003. 

September, 2003. 

October, 2003. 

November, 2003.