# Why do some buttons allow style attributes to be copied, when others do not?

**URL:** <https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133>\
**Category:** Questions\
**Tags:** theme, styles\
**Created:** [May 23, 2024, 12:25am UTC](https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133 "2024-05-23T00:25:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [May 23, 2024, 12:25am UTC](https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133/1 "2024-05-23T00:25:10Z")

</div>

I've included a screen grab of the situation because it's easier to see what is happening by watching it.

I don't know why I can copy style attributes between objects for some button bars but not for other button bars.

In the video I select a button segment and try to copy attributes. That fails. You can see that the Style Paste button remains dim. I then select a different button segment. I am now able to copy/paste attributes. The Style Paste button becomes active as soon as I click the Style Copy button. Moving back to the first button, I click the Style Copy button and the Style Paste button dims.

Does anyone know what is causing the two buttons to have different behaviour?

---

<div class="post-metadata">

**Author:** ![weetbicks](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/weetbicks/32/206_2.png) [@weetbicks](https://the.fmsoup.org/u/weetbicks)\
**Post date:** [May 23, 2024, 9:04pm UTC](https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133/2 "2024-05-23T21:04:21Z")

</div>

Potentially the version of FileMaker they were originally created in ?

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [May 23, 2024, 9:52pm UTC](https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133/3 "2024-05-23T21:52:59Z")

</div>

That would be a horror 😱

I'm going to inspect the XML, maybe the clues are there. Nothing that I can see.

---

<div class="post-metadata">

**Author:** ![Markus](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Markus](https://the.fmsoup.org/u/Markus)\
**Post date:** [May 24, 2024, 9:05am UTC](https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133/4 "2024-05-24T09:05:10Z")

</div>

can You (with a copy!) re-assign or new-assign a css-theme?

What about grouping of the buttons?

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [May 24, 2024, 12:03pm UTC](https://the.fmsoup.org/t/why-do-some-buttons-allow-style-attributes-to-be-copied-when-others-do-not/4133/5 "2024-05-24T12:03:41Z")

</div>

I haven't tried assigning a new style. I'll do that on Monday when I have access to the file.
