Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beautifying a memo field for code storage
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00700508
Message ID:
00700592
Vues:
13
>You can find parameters in Re: Calling Beautify programatically Thread #660261 Message #663560. However I don't think you can redistribute beautify.app.
>>
>>Hi Claudio,
>>
>>I was going to tell you to use beautify.app, but infuriately I had not found its parameter described in the VFP documentation. If you have a way to know necessary parameters, you could store your memo contents using STRTOFILE() into temporary file (you can use sys(2015) function to obtain random name). Then you can run beautify.app and get the result with FILETOSTR() to store it into the memo again. In our applications, we use the same technique when user edits some FoxPro code. The temporary file we open for edition with MODIFY COMMAND – then the user has syntax coloring for its code.

Thank, Sergey

Isn't it possible to include it in my built EXE?
Venelina Jordanova

Outsourcing IT Services Ltd.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform