# OMG..Any component block 🎉

**URL:** <https://community.thunkable.com/t/omg-any-component-block/144511>\
**Category:** Questions about Thunkable X\
**Created:** [July 16, 2019, 7:01am UTC](https://community.thunkable.com/t/omg-any-component-block/144511 "2019-07-16T07:01:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [July 16, 2019, 7:01am UTC](https://community.thunkable.com/t/omg-any-component-block/144511/1 "2019-07-16T07:01:10Z")

</div>

![%E6%93%B7%E5%8F%967](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/b/8b8ac889e77b96a703e4b965cee241d528435256.jpeg)

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [July 16, 2019, 7:44am UTC](https://community.thunkable.com/t/omg-any-component-block/144511/2 "2019-07-16T07:44:51Z")

</div>

Yeah!

---

<div class="post-metadata">

**Author:** ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)\
**Post date:** [July 16, 2019, 2:04pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/3 "2019-07-16T14:04:34Z")

</div>

Oh god, seriously!??!?! I’m checking it now!

Create?? Wow

I wanna cry, this is very useful, and I will have to rewrite many blocks… 😭

---

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [July 16, 2019, 6:23pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/4 "2019-07-16T18:23:00Z")

</div>

am I missing something here. Where did you see these component?

Update: Never mind, just seen it but its hidden at the bottom 🤔

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [July 17, 2019, 3:38am UTC](https://community.thunkable.com/t/omg-any-component-block/144511/5 "2019-07-17T03:38:34Z")

</div>

its about time!!! YAY

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 11:22am UTC](https://community.thunkable.com/t/omg-any-component-block/144511/6 "2019-07-17T11:22:55Z")

</div>

so this is basically a way of creating a pretty cool looking list? and then being able to control how many you want to load also. damn. Developers, well done. I love it.

---

<div class="post-metadata">

**Author:** ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)\
**Post date:** [July 17, 2019, 11:54am UTC](https://community.thunkable.com/t/omg-any-component-block/144511/7 "2019-07-17T11:54:53Z")

</div>

We got the solution for this too! 🥳

> [@Displaying i images for number of images. Is that possibe?](http://community.thunkable.com/t/displaying-i-images-for-number-of-images-is-that-possibe/140917):
>
> I believe this may be something to do with lists and images in list view, but what is the best way to display i number of images in app as of the features currently available in Thunkable X? The only solution I see here now is a list of the image links(list is in blocks, not visible on screen), then have 25 or so image components in the app and just have a select page button (set 25 image components to 1 to 25 in list, then when next page button clicked, set the first image to 26, and so on, us…

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 12:14pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/8 "2019-07-17T12:14:43Z")

</div>

oh yes! I have just realised this. this is fantastic.

---

<div class="post-metadata">

**Author:** ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Post date:** [July 17, 2019, 12:58pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/9 "2019-07-17T12:58:29Z")

</div>

Haha. I will not tell you guys. This section of block mostly I don’t know how to use it (even I read docs already. )  
Ofc something remove, any components block I known 🙂

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 12:59pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/10 "2019-07-17T12:59:47Z")

</div>

The duplicate feature I think is the best, by far. As you can create set layouts, and then duplicate them and change their values in Firebase. I think I have it worked out how to do this.

---

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [July 17, 2019, 1:03pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/11 "2019-07-17T13:03:55Z")

</div>

well so far when you create a button, no way to set the button on-click function

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 1:06pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/12 "2019-07-17T13:06:20Z")

</div>

You could do get label text, and then refer this to a tag in Firebase or something, to get a value?

You might be right actually.

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 1:07pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/13 "2019-07-17T13:07:41Z")

</div>

For some reason, I feel like this is a feature they didn’t mean to release yet 😛 As it isn’t in [Release Notes](https://docs.thunkable.com/release-notes).

---

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [July 17, 2019, 1:09pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/14 "2019-07-17T13:09:07Z")

</div>

yea i was wondering myself and was almost jumping up to see the rest of the planned features but had the shock of my life 😭

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 1:10pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/15 "2019-07-17T13:10:41Z")

</div>

Ahahaha. Im sure it would be possible to do something with list length and variables.

---

<div class="post-metadata">

**Author:** ![sysads](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sysads/32/44975_2.png) [@sysads](https://community.thunkable.com/u/sysads)\
**Post date:** [July 17, 2019, 1:12pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/16 "2019-07-17T13:12:56Z")

</div>

quick question, it is possible to create a variable without using the initialization block?

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 17, 2019, 1:13pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/17 "2019-07-17T13:13:49Z")

</div>

Yes. But not cloud or stored variables…

Using the function blocks, you can create variables using them, then delete the blocks once done and continue to use the variables.

This still does not fix lag for projects with thousands of blocks though…

---

<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 7, 2020, 12:10am UTC](https://community.thunkable.com/t/omg-any-component-block/144511/18 "2020-01-07T00:10:40Z")

</div>

17 posts were merged into an existing topic: [Is there some reason why my blocks might start to lag?](https://community.thunkable.com/t/is-there-some-reason-why-my-blocks-might-start-to-lag/55876/200)

---

<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:** [July 17, 2019, 1:50pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/20 "2019-07-17T13:50:32Z")

</div>

Hey @sysads,

You can create your own functions to do this now:

> [@How to figure out which button was pressed](http://community.thunkable.com/t/how-to-figure-out-which-button-was-pressed/146235):
>
> Create a list The listOfButtons will be used to store all of the button components in your app. [00\_create\_list\_of\_buttons] Add buttons to your list There are a couple of ways you might do this. The first is to add each button when the screen opens. This approach will only work if your UI contains all the buttons you already need. [01\_create\_list] If however, you are creating your buttons dynamically, you can add each new button, one at a time, to the end of your listOfButtons with something…

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 18, 2019, 12:44pm UTC](https://community.thunkable.com/t/omg-any-component-block/144511/37 "2019-07-18T12:44:26Z")

</div>

An example of working with Any Component on the scrAnyComponent page.

[https://x.thunkable.com/projects/5cd84f23e3097f3353fdad45/project/properties/designer/](https://x.thunkable.com/projects/5cd84f23e3097f3353fdad45/project/properties/designer/)

[Next page](https://community.thunkable.com/t/omg-any-component-block/144511.md?page=2)
