11-22-2013 06:56 PM
Recently I've been exploring a way to stop a waveform chart from updating if the scrollbar box is anywhere but at the far right, i.e. present time. I came across a very promising Waveform Chart property called "XScale.Marker.ScrollPos" whos context help says "Position of the scroll box in the scroll bar." Perfect, exactly what I'm looking for, right? Wrong. No matter what position I move the scroll box within the scroll bar, the output of this property is always zero.
Looking at the detailed help for this property I noticed they mention the term "line of text" a few times. This has me thinking that this property only works for vertical scroll bars which is why the output always zero, i.e. no matter how much I move the box left or right, I'm still in the 0th row. If that is the case, this property is either bugged or useless. I'm hoping its the former because I would really find this property usefull for horizontal scroll bars.
Here is a snippit for you to test for yourself.
11-25-2013 05:04 PM
Hi Sean,
I seem to have the same behavior when I try to implement the code on a waveform chart. I will file a CAR about this behavior so that R&D know about this behavior.
Here is a work around I found in the mean time, which is an example.
Thanks for letting us know!