Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCHART Printing
Message
De
16/10/2003 07:34:28
 
 
À
14/10/2003 13:52:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00837680
Message ID:
00839170
Vues:
32
I am trying to use a sample code that comes with it and I am getting an error when I am running:

Try this code from inside your form:
SET LIBRARY TO HOME()+'foxtools.fll' ADDITIVE
lnBPP = 24 
loBmp = NEWOBJECT("BMPMaker","Obj2bmp.vcx")
loBmp.cFileName = 'MyChart.bmp' 
WITH ThisForm.oChart
 loBmp.MakeBitmap( _WhToHwnd( _WonTop() ), lnBPP, ;
  .top + sysmetric( 9 ) + sysmetric( 4 ), .left + sysmetric( 3 ), .height, .width )
ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform