Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSCHART Printing
Message
From
16/10/2003 07:34:28
 
 
To
14/10/2003 13:52:40
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00837680
Message ID:
00839170
Views:
31
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
Previous
Reply
Map
View

Click here to load this message in the networking platform