User (Legacy) Posted September 29, 2003 Report Share Posted September 29, 2003 Anyone know how to get PixelToValue working with Visual Foxpro? There doesn't seem to be an example in the VFP examples and I keep getting OLE Type mismatch results. Thanks, Tom Johnson FUNCTION DRAGDROP() LPARAMETERS oSource, nXCoord, nYCoord LOCAL xOut LOCAL yOut xOut=0 yOut=0 *xout=REPLICATE(CHR(0),4) && tried it and it doesnt work *yout=REPLICATE(CHR(0),4) *ChartName.PixelToValue([in] double x, [in] double y, * [out] long *xValue, [out] long *yValue,CfxAxisIndex nYAxis); this.pixeltovalue(nXCoord,nyCoord,@xout,@yout,0) ? VAL(xout),VAL(yout) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.