Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting the clipboard into a general field
Message
De
14/08/1998 07:23:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126735
Message ID:
00126833
Vues:
29
>I have a table with a general field. When I hit the Print Screen key, I want to take the graphical contents of the clipboard and dump it into the general field. Can anyone suggest a way to get the data from the clipboard into the general field?

This dirty example uses sysinfo.vcx (Vladimir Schevchenko) from files\Classes section :
*Form.init
create table formcaptures (bmptest g)

* Capture.button click (Temporarily another button has this code ie:Print)
thisform.sysinfo1.capturescreen(.f.) && Capture only VFP (active) window
select formcaptures
append blank
keyboard "{Ctrl+pgdn}" 
keyboard "{Alt+E}"
keyboard "{P}"
keyboard "{Ctrl+W}"
keyboard "{Ctrl+W}"
browse fields bmptest nowait
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform