BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TRichEdit Bullet problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Osden F
Guest





PostPosted: Wed Feb 18, 2004 10:44 am    Post subject: TRichEdit Bullet problem Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.