Howdy,
I have a reporting function which turns numbers into a formatted English report. The info is in RichEdit format inside a table. Then an Editor is used by the user to change font sizes, bold, Italic etc, other words formats the text to be ready for printing any way they like.
I have used the Demo in Delphi 5 to be guided by(RichEdit example) and in mine using the DBRichEdit field I, SELECT text and change to Italic / Bold etc, that works fine, reselecting that text and undo via those buttons will undo the formatting - no problem there. The problem is when I use 2 or more styles, bold it and Italic / underline etc and when I want to undo one or more of those styles, it doesn't change back and stays in Italic etc - any ideas?
Thanks
Allen
I have a reporting function which turns numbers into a formatted English report. The info is in RichEdit format inside a table. Then an Editor is used by the user to change font sizes, bold, Italic etc, other words formats the text to be ready for printing any way they like.
I have used the Demo in Delphi 5 to be guided by(RichEdit example) and in mine using the DBRichEdit field I, SELECT text and change to Italic / Bold etc, that works fine, reselecting that text and undo via those buttons will undo the formatting - no problem there. The problem is when I use 2 or more styles, bold it and Italic / underline etc and when I want to undo one or more of those styles, it doesn't change back and stays in Italic etc - any ideas?
Thanks
Allen