Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change fonts in memo field display
Message
From
09/04/2012 18:28:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/04/2012 16:57:44
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01540734
Message ID:
01540739
Views:
43
>>>Hey Fox Peoples
>>>
>>>Is there any way to change font of a word within a memo field?
>>>
>>>What I've got is: Blah Blah Blah ^Plop^ Blahdiblah
>>>What I want is: Blah Blah Blah Plop Blahdiblah
>>>
>>>And it doesn't have to be underlined. It could be bolded (is that a word?) or italicized.
>>>
>>>Is this possible?
>>>
>>>Thanks
>>>D
>>
>>You can use RTF ActiveX control and store everything as RTF in the memo.
>>But that could cause other problems like use this field in reports, search a specific text in it (when it is not shown in the ActiveX control).
>
>At the moment, it is being stored as an RTF in a General field and we're trying to get away from that due to font issues, different items being different sizes, etc.

Convert to html and keep a common stylesheet at hand... which is a bit hard to organize and safeguard from accidental change, but is at least a worldwide standard, not just one vendor's internal and half-abandoned format.

And... general (or admiral) fields are not a good idea, for many reasons. Ok, first reason is off, every flavor of them Windowses comes with at least Wordpad, which can handle rtf, but general fields require a COM server registered for that particular type of file - and what if one was registered and then uninstalled? The re-registration of the file type to another app does not happen automatically (but the customer call does!). HTML is still less headache.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform