# DVL Layout Wrapper unable to set visibility to false

**URL:** https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394
**Category:** Questions about Thunkable X
**Created:** [June 16, 2021, 4:52am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394 "2021-06-16T04:52:19Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)
#### Post date: [June 16, 2021, 6:13am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/21 "2021-06-16T06:13:47Z")

</div>

OK, let me do that.

---

<div class="post-metadata">

### Author: ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)
#### Post date: [June 16, 2021, 6:14am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/22 "2021-06-16T06:14:32Z")

</div>

I used the same variables for the very same purpose in a different screen, it worked just fine.

**Edit: @tatiang I just tried that, but it made no difference.**

---

<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: [June 16, 2021, 6:16am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/23 "2021-06-16T06:16:58Z")

</div>

Sending you a project link now…

---

<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: [June 16, 2021, 6:21am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/24 "2021-06-16T06:21:25Z")

</div>

Could it be that you’re getting row IDs that are text strings and then using them as list indexes? Maybe you need to convert your row IDs to numbers… just a guess.

---

<div class="post-metadata">

### Author: ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)
#### Post date: [June 16, 2021, 6:22am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/25 "2021-06-16T06:22:44Z")

</div>

I’m not using row IDs as a list index, I’m using the ‘i’ variable from the for loop.

---

<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: [June 16, 2021, 6:33am UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/26 "2021-06-16T06:33:04Z")

</div>

I think we got this sorted out using functions. It wasn’t clear what the issue was except maybe a problem with variable initializations. Still not sure but the link I sent you works so hopefully you can add my functions to your project.

---

<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, 1:20pm UTC](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394/27 "2024-11-08T13:20:13Z")

</div>



[Previous page](https://community.thunkable.com/t/dvl-layout-wrapper-unable-to-set-visibility-to-false/1347394.md?page=1)
