# Template Canvas set scrollbar position?

**URL:** <https://forum.inductiveautomation.com/t/template-canvas-set-scrollbar-position/15752>\
**Category:** Ignition\
**Created:** [October 23, 2017, 3:41pm UTC](https://forum.inductiveautomation.com/t/template-canvas-set-scrollbar-position/15752 "2017-10-23T15:41:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [October 23, 2017, 5:47pm UTC](https://forum.inductiveautomation.com/t/template-canvas-set-scrollbar-position/15752/4 "2017-10-23T17:47:53Z")

</div>

It is possible, you can access the underlying JScrollPane from Ignition as explained here: [Scroll bar is slow](http://forum.inductiveautomation.com/t/scroll-bar-is-slow/5043/6)

Once you have the JScrollPane, you can set the view rectangle on it (search for Java docs to set that). Then the scrollbars will adjust until that rectangle is visible.

Setting the scrollbar position directly isn’t possible AFAIK, but setting the view rectangle is more robust anyway.

---

_[View the full topic](https://forum.inductiveautomation.com/t/template-canvas-set-scrollbar-position/15752)._
