Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Rich Edit and w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3656 of 3830
Post > Topic >>

Rich Edit and wordwrap

by spannerj <spencer.jago@[EMAIL PROTECTED] > Mar 26, 2008 at 12:46 AM

Good morning,

I have a rich edit box that I have limited in size to allow a user to
enter 80 character lines. They can start a new line at any time but if
they continue typing the word wrap kicks in at the 80 character point.

My problem is that the text they type is saved to the DB2 database
with RTF tags. When a user hits return a tag is added to the text and
stored on the database. When the component performs the word wrap I am
left with nothing but a space on the database. When this text is
loaded in the Rich Edit of a different application it does not format
correctly as it does not know to start a new line where the wrap was.

Could someone tell me how I can still give the user word wrap
functionality but also detect that I should have a tag where word wrap
has taken place?

Thanks for any help.
 




 3 Posts in Topic:
Rich Edit and wordwrap
spannerj <spencer.jago  2008-03-26 00:46:33 
Re: Rich Edit and wordwrap
"Maarten Wiltink&quo  2008-03-26 10:49:31 
Re: Rich Edit and wordwrap
spannerj <spencer.jago  2008-03-27 12:14:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 10:37:38 CDT 2008.