Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP toolbox and edit txt file
Message
From
09/01/2008 14:04:17
 
 
To
09/01/2008 13:26:46
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01280615
Message ID:
01280646
Views:
19
>>Hi,
>>
>>I really can't find a way to do this simple thing:
>>
>>It is possible to add a xxx.txt file to the VFP toolbox such that when I click it or select "modify" it will be edited inside VFP editor, as though I type MODIFY FILE xxx.txt in the command window?
>
>When you add an item as a File item, it uses whatever editor is associated with that file type in Windows, so you won't be able to do this using either an explicitly added file, or a Dynamic Folder category (which automatically sets its contents up as files) unless you're willing to use the VFP editor as the default for all TXT files.
>
>You could add a script that opens the specified file, but it'll work oddly. To open it, you'd have to drag onto the desktop.
>
>So I guess the answer to your question is no, not anything I can think of.
>
>Tamar

Hi, nice to meet you here!
I think I will just leave it to the external text editor. I got a feeling in this case I am using Toolbox for a task it is not ordinarily designed for (I mean to use the VFP's internal editor on a txt file)

Btw, neither your book "What's New in Visual FoxPro 8.0" nor VFP9's help talk about the details of Toolbox's "script". The term script is too general for me, I wonder what exactly is the kind of "script" that Toolbox is expecting? Is it a Windows script?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform