 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Osden F Guest
|
Posted: Wed Feb 18, 2004 10:44 am Post subject: TRichEdit Bullet problem |
|
|
I have a TRichEdit control where user can type in his comments and
give that comments properties like Bold,Italic, Underline and Bullet.
This data is then stored in SQL Server 2000 Database.
When the user comments contain Bullets after saving the comment when
it is shown again after fetching it from database it does not show
properly
Example
User Comment
1)This is a individual Comment with bullet
2)This text contain bullet which will be shown bulleted
3)· This text does not contain bullet.
Numbers are just put for reference
In the above example first line does not contain bullet, second line
has a bullet which is shown properly but the third line which does not
has a bullet is shown with a small dot and a space.
In order to save the containt of richedit to database i use following
code
adoSectionCommentsBrowse.FieldByName('comment_text').Assign(
redtComments.lines);
and to display the data from the database to richedit i use code
redtComments.Lines.Assign(TMemofield(brComments.DataSource.
DataSet.FieldByName('comment_text')));
Can somebody help me
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|