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