Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beautifying a memo field for code storage
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00700508
Message ID:
00701261
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform