# Template Canvas Scroll bars scripting

**URL:** <https://forum.inductiveautomation.com/t/template-canvas-scroll-bars-scripting/49349>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [July 29, 2021, 1:50pm UTC](https://forum.inductiveautomation.com/t/template-canvas-scroll-bars-scripting/49349 "2021-07-29T13:50:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![meredithj](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@meredithj](https://forum.inductiveautomation.com/u/meredithj)\
**Post date:** [August 3, 2021, 8:21pm UTC](https://forum.inductiveautomation.com/t/template-canvas-scroll-bars-scripting/49349/3 "2021-08-03T20:21:04Z")

</div>

I ended up using this post as the basis for what I was trying to do.

> [@Using the Template Canvas as a work-around for Zoom](https://forum.inductiveautomation.com/t/using-the-template-canvas-as-a-work-around-for-zoom/42774/2):
>
> I have noticed several forum posts on similar topics: But there has only been solutions to scrollbar incrementing. This is my solution to the “focus” or “Jump-to” issue… from java.awt import Point def TemplateCanvas\_Focus(): canvas = event.source.parent.parent.getComponent("Template Canvas") #### this is the java JScrollPane class... we can use any methods associated with JScrollPane here#### scrollPane = canvas.getComponents()[2] ####this is the java JSViewport class... we can use any…

---

_[View the full topic](https://forum.inductiveautomation.com/t/template-canvas-scroll-bars-scripting/49349)._
