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:
00700592
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform