Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change fonts in memo field display
Message
De
10/04/2012 09:57:10
 
 
À
10/04/2012 09:14:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
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:
01540805
Vues:
41
>>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})

I'm trying to avoid bringing in any other software, trying to get something approved by the Air Force is....interesting, shall we say? I'll try the General -> Memo conversion and see how that works.

Eventually, this will be moving to a SQL backend and (probably) .Net front end - which is another reason I'm not wanting to bring in more levels of complexity.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform