General information
Category:
ActiveX controls in VFP
I am trying to decide what kind of control to use....
Our app supports memo text with embedded codes for bold, underline, and italics. The user can type the codes like this:
This memo has [B:]bold[:B] and [I:]italics[:I] text.
I'd like to display that text with real bold/italics/underline rather than showing the codes to the user. And I'd like the user to be able to use a toolbar button or hotkey and see the effect of bold, etc. I do NOT want them to be able to change fonts, add bullets, or use any formatting codes except those three.
Upon reading a memo field, I can convert our codes to RTF or HTML for display and editing in an ActiveX control. But upon saving the memo, it would have to be converted back again to our own codes. (We have to continue using our codes because our reports and other features rely on them.)
Is this is simple job for the MS RTF control or should I use another like TX Text Control or a DHTML control? In any case, will the memo be sprinkled with header/footer and other embedded codes that will make parsing/converting it back to our codes problematic?
Thanks for any advice.
-Bob
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only