# Force tool button panToolButton starting enabled by default

**URL:** <https://pdfjs.community/t/force-tool-button-pantoolbutton-starting-enabled-by-default/1449>\
**Category:** Technical Support\
**Created:** [March 6, 2022, 3:51pm UTC](https://pdfjs.community/t/force-tool-button-pantoolbutton-starting-enabled-by-default/1449 "2022-03-06T15:51:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [March 6, 2022, 3:51pm UTC](https://pdfjs.community/t/force-tool-button-pantoolbutton-starting-enabled-by-default/1449/3 "2022-03-06T15:51:49Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Hiding/Showing DOM elements in WebViewer UI - List of elements](https://pdfjs.express/documentation/ui-customization/hiding-elements#list-of-elements)
- [Customize toolbar in viewer - Header items - ToolGroupButton](https://pdfjs.express/documentation/ui-customization/customizing-header.8#toolgroupbutton)
- [Customizing WebViewer UI Popups](https://pdfjs.express/documentation/ui-customization/customizing-popup.8)

APIs:
- [Core.Tools.TextUnderlineCreateTool - enableImmediateActionOnAnnotationSelection()](https://pdfjs.express/api/Core.Tools.TextUnderlineCreateTool.html#enableImmediateActionOnAnnotationSelection__anchor)
- [Core.Tools.TextStrikeoutCreateTool - setEnableImmediateActionOnAnnotationSelection(enable)](https://pdfjs.express/api/Core.Tools.TextStrikeoutCreateTool.html#setEnableImmediateActionOnAnnotationSelection__anchor)
- [UI.Popup](https://pdfjs.express/api/UI.Popup.html#__anchor)

Forums:
- [URGENT - Merge XFDF API giving [502] internal error](https://pdfjs.community/t/urgent-merge-xfdf-api-giving-502-internal-error/1092/1)
- [Add “Full Screen” button to main toolbar](https://pdfjs.community/t/add-full-screen-button-to-main-toolbar/1371/1)
- [How to Pan while tracing by pressing and holding the left click of the mouse](https://pdfjs.community/t/how-to-pan-while-tracing-by-pressing-and-holding-the-left-click-of-the-mouse/531/1)

---

_[View the full topic](https://pdfjs.community/t/force-tool-button-pantoolbutton-starting-enabled-by-default/1449)._
