Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF control - use of a memo field / detect change
Message
From
18/06/2008 20:10:43
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01324620
Message ID:
01325319
Views:
19
Hi Sergey

Many thanks for all your input on the RTF control. It was most helpful.

Regards
Cyril


>Hi Cyril,
>
>I would add a flag to a record to specify a format of the memo (RTF or plain text) and process them accordingly. Also, you can extract plain text from RTF control through SelText property.
>
>>Hi Sergey
>>
>>Q1: Is
REPLACE rtf.Source WITH THISFORM.oleRTF.TextRTF
also unnecessary?
>>
>>Q2: Also, I want to give the user a choice of using RTF or plain text.
>>
>>I have a memo field and an RTF control on the page, and in the init() of the form I make one of them visible depending upon a setting in a setup file.
>>
>>However, that does not work too well. If we use the memo file, we end up with RTF in the memo file. Probably because the control source for both the editbox and the RTF control are set to the same memo field.
>>
>>Is it possible to tell the RTF control to edit plain text like a memo field? Alternatively, should I have two forms, or is there a way to have both on the same form?
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform