I have no idea what you are asking. Your question (no ?) doesn't say anything about what you want to do, so please try to restate it with more information, post some code if you have it, and explain what you are trying to do.
Are you bound to using a textbox and a scroller component? Why not use both scrollers? That would make it a lot simpler to code perhaps.
Otherwise here are the properties that can help you figure this out. You will need to setup two listeners, one for each component, that will get the current scrolling location, and then set it similarly in the other component.