# Using the Any Component Button

**URL:** <https://community.thunkable.com/t/using-the-any-component-button/423421>\
**Category:** Questions about Thunkable X\
**Created:** [January 23, 2020, 1:32pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421 "2020-01-23T13:32:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobbyj12](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bobbyj12](https://community.thunkable.com/u/bobbyj12)\
**Post date:** [January 23, 2020, 1:32pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/1 "2020-01-23T13:32:30Z")

</div>

Good day. Perhaps someone could help me with the Any Component (button). As the screenshot shows, I have a button (empty box on left). When the button is pressed, it adds the text (box next to it) to the label to the far right. The setup is, 2 columns with individual rows in each. The column on the left has the button, text input box and a label naming the input. The column on the right shows the result when the button is pressed. There are 15 rows in each column. I would really like to use the Any Component for this since my app has slowed to a crawl. Any help would be greatly appreciated. Thanks

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/b/0ba2ea5ac998c0d7c3402e84246bc6e564217e2c.png)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 23, 2020, 2:02pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/2 "2020-01-23T14:02:29Z")

</div>

is this an issue of too many blocks? that would be something like 45 blocks only. On click, set label to, text input

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 23, 2020, 6:37pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/3 "2020-01-23T18:37:38Z")

</div>

Hi, have you already seen my [Any Component tutorial](http://community.thunkable.com/t/any-component-blocks/414000)?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 23, 2020, 6:50pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/4 "2020-01-23T18:50:06Z")

</div>

@tatiang and @domhnallohanlon have both posted anycomponent tutorials recently.

Here is one example of a test project I made using their examples.

> [@\[Solved\] Help using any component blocks to set variables](http://community.thunkable.com/t/help-using-anycomponent-blocks-to-set-variables/422048/8):
>
> I had to play with this but it makes sense. I was able to reduce in a test app 16 to a single list saved in 1 variable. i will share the code and app here. it is a simple discrete trial teaching data collection tool used in an ABA therapy setting. currently the app is set up to measure 5 things in a % format. it only takes 18 blocks total and 0 extra variables per measure now instead of wayy more. I have also made use of the anycomponent blocks a lttle bit more!

and here is Domhnall’s

> [@AnyThoughts on how to Streamline code when using color changing buttons and dynamic labels and buttons](http://community.thunkable.com/t/anythoughts-on-how-to-streamline-code-when-using-color-changing-buttons-and-dynamic-labels-and-buttons/392102/11):
>
> I’ve started a new demo app that includes some of this functionality @jared . Users can create profiles which include their user name, profile picture and dietary requirements (for example) There’s no input validation yet, but I’m just sharing this as an example of using the Any Component blocks to create the multiple choice buttons you mentioned: [https://x.thunkable.com/copy/f21a68957395bf9aa24fd62a0b141c5e](https://x.thunkable.com/copy/f21a68957395bf9aa24fd62a0b141c5e) These are the blocks for setting an “active” diet (or…

and tatiang’s

> [@Any Component blocks](http://community.thunkable.com/t/any-component-blocks/414000):
>
> In this video, I explain how to use Any Component blocks to change a corresponding label when a button is clicked. The button’s background is also changed to reflect that it was clicked. There is a link to the project on the title screen of the video.

---

<div class="post-metadata">

**Author:** ![bobbyj12](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bobbyj12](https://community.thunkable.com/u/bobbyj12)\
**Post date:** [January 23, 2020, 9:36pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/5 "2020-01-23T21:36:04Z")

</div>

@tatiang I just viewed the video. If this works, I owe you a case of beer.

---

<div class="post-metadata">

**Author:** ![bobbyj12](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bobbyj12](https://community.thunkable.com/u/bobbyj12)\
**Post date:** [January 23, 2020, 9:40pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/6 "2020-01-23T21:40:25Z")

</div>

@domhnallohanlon I owe you one too.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 23, 2020, 9:53pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/7 "2020-01-23T21:53:29Z")

</div>

I don’t drink but if you make it root beer, you’re on! 😉

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [January 23, 2020, 10:06pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/8 "2020-01-23T22:06:45Z")

</div>

No worries - I’ll take @tatiang’s case too! 😂

---

<div class="post-metadata">

**Author:** ![bobbyj12](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bobbyj12](https://community.thunkable.com/u/bobbyj12)\
**Post date:** [January 28, 2020, 4:11pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/9 "2020-01-28T16:11:34Z")

</div>

nevermind. I figured it out.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [February 25, 2020, 5:33pm UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/10 "2020-02-25T17:33:34Z")

</div>

A post was split to a new topic: [Reducing the number of blocks needed for multiple switches](https://community.thunkable.com/t/reducing-the-number-of-blocks-needed-for-multiple-switches/484262)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:40am UTC](https://community.thunkable.com/t/using-the-any-component-button/423421/11 "2024-11-08T11:40:46Z")

</div>


