Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP toolbox and edit txt file
Message
De
10/01/2008 13:26:04
 
 
À
09/01/2008 14:04:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01280615
Message ID:
01280931
Vues:
17
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform