Jump to content
Software FX Community

how can I know the width of blank


Recommended Posts

I download a demo VB source. It works without problem.

When I transfer the function in the file of cfxocx.bas

into PB(powerbuilder). It doesn't work correctly.

 

Function CHART_LOWORD(ByVal l As Long)

  l = l And &HFFFF&

  If (l > 32767) Then 'why it's 32767? In PB the value is very big..

  l = l - 65536

  End If

  CHART_LOWORD = CInt(l)

End Function

 

Thank you very much!

 

 

Link to post
Share on other sites

I called the RecalcScale method, but the result is 0.

Ll_iy =chart.object.Series(0).Yvalue(1) //Ll_iy equals the value of the chart

chart.object.ValueToPixel(Xvalue, Ll_iy, Ll_rx, Ll_ry, 0)

the method i called is correct??

i don't know the Xvalue..So i try 0, 1, 200 and so on..

Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...