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:
00701261
Vues:
18
Dear Venelina

>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.

First of all.. Thanks for your reply.. I didn´t found also any documentation for beautify.app.. MODIFY COMMAND isn´t so usefull for me because I am storing the code in a memo field and I´d like to have the full control of that object in my form (but, it will probably be the only thing to do)..


Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform