Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP toolbox and edit txt file
Message
From
10/01/2008 13:26:04
 
 
To
09/01/2008 14:04:17
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01280615
Message ID:
01280931
Views:
16
>>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.

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

A script is VFP code. When you add a script item, you actually can provide two blocks of code, one that runs when you drag the item, and the other that runs after the drag is completed. The return value of the first script (the "drag" script) is inserted wherever you drop.

I've tested this and it's a cool feature, but I haven't yet found a way to put it to work for me.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform