It's actually quite easy to use, just download the demo and study the code, it's not as hard as you might have imagined it. Multi-line is created withing few lines of code!
Thanks for your response 3run. How can I write the code to enable WWRAP flag when the number of characters entered exceeds 50 as the user continues to enter characters in the text box?