Re: [Factor-talk] How to scroll to a new gadget ?

2016-09-19 Thread Georg Simon
Am Sun, 18 Sep 2016 10:25:59 -0700 schrieb John Benediktsson : > Your code didn't run for me as is, you have to set ``nodes`` to a > value first. > > Also, I don't understand why ``draw`` is making a new > instead of just adding the new node to the existing scroller? > >

Re: [Factor-talk] How to scroll to a new gadget ?

2016-09-19 Thread Georg Simon
Until now I supposed variables to be initialized to "f". Now I know that I was wrong. So the last line of my code now has "nodes off" prepended. For a simple node sequence I agree. But in my application I want to show a changing directed graph build from SQL records. Therefore I consider it more

[Factor-talk] How to scroll to a new gadget ?

2016-09-18 Thread Georg Simon
The code below is a useless program. It's only purpose is to show my question. By pressing INSERT I add new nodes until the scroller appears. By using ← or → I can see the scroller work. Pressing INSERT triggers the content of the filled-cell of "dialog < frame" to be overwritten by "draw".