# Prevent Window from Opening as a tab

**URL:** <https://forum.xojo.com/t/prevent-window-from-opening-as-a-tab/70176>\
**Category:** macOS\
**Created:** [May 11, 2022, 7:19pm UTC](https://forum.xojo.com/t/prevent-window-from-opening-as-a-tab/70176 "2022-05-11T19:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [May 11, 2022, 7:27pm UTC](https://forum.xojo.com/t/prevent-window-from-opening-as-a-tab/70176/2 "2022-05-11T19:27:12Z")

</div>

Take a look at this recent thread for some methods of disabling the auto window tabbing feature.

> [@Double titles on Mac Document windows](https://forum.xojo.com/t/double-titles-on-mac-document-windows/69422/9):
>
> Sorry… after reading a little more, it looks like you need Declare Sub SetTabbingMode Lib "AppKit" selector "setTabbingMode:" (obj as Ptr, value as integer) SetTabbingMode(w.handle, 2) // 2 = Disabled If you’re using API 1, you’ll need to change obj as Ptr to obj as Integer

---

_[View the full topic](https://forum.xojo.com/t/prevent-window-from-opening-as-a-tab/70176)._
