WordWrap and Clear

General TRichView support forum. Please post your questions here
Post Reply
JPR
Posts: 35
Joined: Fri Apr 14, 2006 7:27 am

WordWrap and Clear

Post by JPR »

Hello everybody,

I use TDBRichView in my delphi application. I have some troubles between DBRichView and my database. When I use clear method of my dbrichview, my component is empty but not my database. In my blob field, there is a lot character and when i use MySQLComponent.FieldByName('MyBlobField').AsString = '', delphi send me field is not empty.
How can i solve this problem ?

Secondly, I wish reproduce wordwrap property with a dbrichview. Actually I use property of paragraph but this solution is not good because this information is link with document and not with my component.
Have you a idea to have a wordwrap property on my dbrichview component ?

Thank a lot

Best regard from FRANCE.

JP

;-)
Michel
Posts: 92
Joined: Fri Oct 14, 2005 2:56 pm
Contact:

Post by Michel »

In my blob field, there is a lot character
That's probably because an empty RV still has a header, and probably some other stuff. To "nullify" the BLOB you'd probably have to do just that: set the field value to NULL explicitly.

The second part of your question - I didn't quite understand, but probably wouldn't know the answer even if I did. :wink:

Good luck!

Michel
Sergey Tkachenko
Site Admin
Posts: 17310
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, there is no global wordwrap property, it's only a property of paragraph style
marcpleysier
Posts: 39
Joined: Sun Aug 13, 2006 12:46 pm
Contact:

Post by marcpleysier »

No component Wordwrap ????

For me, text wrapping musn't be stored in the data. It is a viewing property.

Having one paragraph wrapped and another one not is quite strange for the user.

I suppose default wrapping is "ON" because I haven't notice this behaviour before...
Post Reply