>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only