Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I copy text?
Message
De
16/02/2000 14:58:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How can I copy text?
Divers
Thread ID:
00333056
Message ID:
00333056
Vues:
41
Hello,

I'm working on a tool that will help me document my VFP code as I create it. I want to strictly format code at the end of a method that I can later create documentation from via automation. I've already done the second part. My problem is grabbing the text.

I need to figure out how to copy the text in the current window. Essentially I want to emulate CTRL+A then CTRL+C and I need to do this reliably. I have tried using combinations KEYBOARD '{CTRL+A}', KEYBOARD '{CTRL+C}', SYS(1500,"_MED_SLCTA ","_MEDIT"), and SYS(1500,"_MED_COPY","_MEDIT") in a procedure that gets called via "ON KEY LABEL F8 DO myPrg", but I can't get any combination to work properly.

I can manually do the Select All, the Copy, then press my function key which pops up the form, I fill it out, press a button, then I do a paste. My goal is to automate this process.

Any suggestions would be greatly appreciated.

Thanks,
-Isaac
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform