snosniv <
nivparsons@gmail.com> wrote:
Each time new data is added to zdat I'd like to refresh what's shown
It will help with tracking what is being built as my zwift workout.
Look into adding a write trace on zdat that calls a proc that uses the
zdat contents to "insert" text lines into a text widget (whether you
clear the widget first is up to you).
Once setup, every time a write happens to the zdat variable, your proc
will refresh the contents of the text widget.
Do be careful about "too much data" (which will probably take you some
time to encounter) but if you end up needing to insert many thousands
of lines then this can become a bit of a performance issue.
Where to "place/pack/grid" the text widget is also up to you.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)