# Can I have both swipe control and tabs?

**URL:** <https://the.fmsoup.org/t/can-i-have-both-swipe-control-and-tabs/1630>\
**Category:** Questions\
**Tags:** ui, mobile\
**Created:** [January 25, 2021, 9:17pm UTC](https://the.fmsoup.org/t/can-i-have-both-swipe-control-and-tabs/1630 "2021-01-25T21:17:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Susurrus](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/susurrus/32/472_2.png) [@Susurrus](https://the.fmsoup.org/u/Susurrus)\
**Post date:** [January 25, 2021, 9:17pm UTC](https://the.fmsoup.org/t/can-i-have-both-swipe-control-and-tabs/1630/1 "2021-01-25T21:17:47Z")

</div>

I am working on a FileMaker Go layout and would like to update the current tab system I am using to also allow for swiping. But I still want to keep the tabs. Is this possible? I know I can just make buttons combined with slide and it would function but I would like the buttons to highlight both when the button is used or when the user swipes.

When I saw OnPanelSwitch trigger I figured I would be able to use that to highlight the tab I was on but it seems it is more complicated that that? It seems you might need to use [Get(TriggerCurrentPanel)](https://fmhelp.filemaker.com/help/16/fmp/en/FMP_Help/get-triggercurrentpanel.html#wwconnect_header) and [Get(TriggerTargetPanel)](https://fmhelp.filemaker.com/help/16/fmp/en/FMP_Help/get-triggertargetpanel.html#wwconnect_header)? I will continue to work with this but if I am going down the wrong path it would be nice to know. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Susurrus](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/susurrus/32/472_2.png) [@Susurrus](https://the.fmsoup.org/u/Susurrus)\
**Post date:** [January 25, 2021, 9:20pm UTC](https://the.fmsoup.org/t/can-i-have-both-swipe-control-and-tabs/1630/2 "2021-01-25T21:20:58Z")

</div>

Well that was a little to quick apparently to ask the question. I had been doing it right but set the wrong script to trigger. As soon as I switch it problem was solved.
