dcsimg
Results 1 to 3 of 3

Thread: [RESOLVED] save formatted text character to database

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2013
    Posts
    1,126

    Resolved [RESOLVED] save formatted text character to database

    This is in line with my thread "what vb6 component is this ?" but I am not using yet the RTBCompose example given by Dilletante. Thanks again for that example Dilletante.


    So I have created the toolbox to modify the text character's boldness, italic, alignment, font size, font type, etc.

    So I make the text character in the RichTextBox to Bold, with font size 20, then I save the richtextbox content to database but when I retrieve it, the formatted bold and font size 20 of the content is not restored upon presentation back to the richtextbox. What to do ?

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    20,922

    Re: save formatted text character to database

    Are you saving/restoring the TextRTF property?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    May 2013
    Posts
    1,126

    Re: save formatted text character to database

    Quote Originally Posted by dilettante View Post
    Are you saving/restoring the TextRTF property?
    Yes. thanks you again Dilletante. I never knew that there was such property.

    Resolve to richtextbox1.textrtf

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width