Thanks I'm now underway - I had to work in the /demo/pid folder and use the
name pid.x but that's ok
Another question how do I display "-0.1" rather than "-.1" ? I'm using
this
FOR aa# = 1.00 TO -1.00 STEP -0.20
IF (aa#<0.01)AND (aa#>-0.01) THEN aa# = 0.00 END IF '------------- force a
0 (zero)
#label18 = NewChild ("static",STR$(aa#) ,$$SS_RIGHT, 60, 0+ abb, 22, 15,
hWnd, $$IDC_LABEL, 0)
abb = abb+51
NEXT aa#
Regards
Travis
> --
> You received this message because you are subscribed to the Google Groups
> "xblite" group.
> To post to this group, send email to xbl...@googlegroups.com.
> To unsubscribe from this group, send email to
> xblite+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/xblite?hl=en.
>
I used
FOR aa# = 1.00 TO -1.00 STEP -0.20
IF (aa#<0.01)AND (aa#>-0.01) THEN aa# = 0.00 END IF '------------- force a
0 (zero)
aaa$ = FORMAT$("+#.##", aa#)
#label18 = NewChild ("static",aaa$ ,$$SS_RIGHT, 60, 0+ abb, 22, 15, hWnd,
$$IDC_LABEL, 0)
abb = abb+51
Next aa#
Thanks
Regards
Travis
----- Original Message -----
From: "gentsky" <alan...@ukgateway.net>
To: "xblite" <xbl...@googlegroups.com>
Sent: Wednesday, March 28, 2012 3:38 AM
Subject: [xblite] Re: Help setting up Xblite
It's better to always use the logical and (&&) in your IF statements.
Just the same, always avoid OR (binary operator) and use rather the
logical or (||).
Seems like a detail but you might stumble into corner cases for no good
reasons.
Bye! Guy
Thanks
While I have you I'm trying to modify a graphic and can't find the
information that will enable me to understand what is happening.
In the below statements
set graph properties
SendMessageA (#graph1, $$WM_SET_GRAPH_LINE_WIDTHS, -1, 2)
SendMessageA (#graph1, $$WM_SET_GRAPH_STEPSIZE, 0, 2)
SendMessageA (#graph1, $$WM_SET_GRAPH_GRID_UNITS, 0, 20) ' changed
SendMessageA (#graph1, $$WM_SET_GRAPH_LINE_COLORS, -1, 0xFFFF00)
I belive the Set_Graph_Stepsixe controls the horizontal movement for each
data point. but varying the arguments has no effect. The others do change
the graph characterists but the step one does not.
At the moment the program draws a shape (sine curve) inside a graph area but
each horizontal movement is far too large to display the curves, How can I
control this?