DBRichEdit Bold

Comments

2 comments

  • Roy Woll

    How are you creating your new note.  Did you clear the previous text?  Did you try calling the richedit's clear method?

    0
    Comment actions Permalink
  • Daniel DeWitt

    Thanks for the response.  I figured it out last night.   I was misunderstanding the use of the font style attributes.  I ended up with this statement in the dbRichEditExit event:

    if fsBold in dbmNotes.SelAttributes.Style then
       dbmNotes.SelAttributes.Style:= dbmNotes.SelAttributes.Style-[fsBold]

    With this statement it all works great!  I got caught up on the fact that font styles are boolean and kept trying to set it as such. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk