Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clipper conversion
Message
 
 
À
09/01/2009 13:58:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01372421
Message ID:
01372429
Vues:
14
This message has been marked as the solution to the initial question of the thread.
VARRREAD()
>
>I am converting a Clipper progarm to VFP and I would like to figure how to simulate the F1 key in Clipper, which automatically executes a program called HELP.
>
>Here is some documentation from Clipper:
>
>
>After a key is redefined, pressing it executes the specified
>     procedure, passing three automatic parameters corresponding to
>     PROCNAME(), PROCLINE(), and READVAR().  
>
>READVAR() returns the name of the variable associated with the current
>     Get object or the variable being assigned by the current MENU TO command
>     as an uppercase character string.
>
>
>I have it almost right:
>
>
>ON KEY LABEL F1 do Help with program(), lineno(), ???????.
>
>
>How do I pass the current get object, as in:
>
>
>@ 12,12 get TestVar
>
>
>So, if I press F1 while in that field, I would like HELP.PRG to receive 'TestVar' in the third parameter.
>
>Thanks,
>
>Yossi
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform