Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More screen print info
Message
De
05/08/1998 11:56:32
 
 
À
05/08/1998 11:53:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00124126
Message ID:
00124127
Vues:
15
>Explain in detail how to do a screen print in Visual FoxPro?
DECLARE keybd_event in win32api short bVk, short bScan, integer dwFlags, integer deExtrainfo
=keybd_event(44,0,0,0)
Clear dlls
*** now screen is in clipboard
IF used("tmp")
 SELECT tmp
 USE
ENDIF
CREATE cursor tmp (bmp G)
APPEND blank
*** add bitmap to general field
DEFINE window bmp at 1000,1 size 1,1    && far enough
SET resource off
MODIFY general bmp nowait window bmp
KEYBOARD '{CTRL+V}'
KEYBOARD '{CTRL+W}'
Release window bmp
SET resource on
*** now you can run report form to print general field
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform