Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple RTF
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Simple RTF
Miscellaneous
Thread ID:
00878553
Message ID:
00878553
Views:
47
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
Map
View

Click here to load this message in the networking platform