Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change fonts in memo field display
Message
De
10/04/2012 09:14:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/04/2012 08:33:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Database:
Visual FoxPro
Divers
Thread ID:
01540734
Message ID:
01540797
Vues:
39
>Yeah, I'm trying to get out of the general field and I'd like to be able to pull strictly from the memo field and display in an edit box on the screen.

That would actually have to be a browser box, with possibly some javascript tool inside if you want to make it both editable and richtext capable - like most of the forums have.

> How would I do the html conversion?

There are tools you can employ, most of them not free, but you may already have an automatable text processor which could do it. Even Word can, IIRC (save as html), but you'd better extract only the body of the text from it and replace all the mso* tags with normal tags - Word creates a very heavy stylesheet and inserts it into pretty much anything. LibreOffice may be easier on the styles and may produce a lighter html, but I haven't even tried to automate it yet.

Maybe staying with rtf but storing it as just rtf text in a simple memo field is the easiest way. You could just open it up as the general field, save as rtf, replace the simple memo with filetostr({saved file name here.rtf})

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform