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) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.