Lo sprite ricompare all'avvio

Hello everyone,
if the RemainingFilters variable equals 11, then ImageSprite 12 is not visible. But even though I'm going to save in the spritePos12 tag it is now not visible; upon app restart, ImageSprite 12 is visible.

  1. better to change '=11' to '<=11'
  2. Why you save the boolean true in a list?

After making ImageSprite 12 invisible, I wanted to save in the tag that the next time the app starts; ImageSprite 12 is not visible..but it doesn't work.

just set the valuetoStore as boolean false. finish.

In fact I had put the not before ImageSprite12.visible

not false is true, that's why you get imageSprite12 visible as true.

1 Like

If you store a boolean value in TinyDB, then you should NOT use a select list item block after getting that value again

use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

@Kevinkun [quote="Kevinkun, post:4, topic:81540"]
just set the valuetoStore as boolean false. finish.
[/quote]

Can you give me an example?

you already have the answer clearly.

@Kevinkun I tried to follow your advice..at least I think..but the sprite I'm going to make not visible; on reboot it is always visible.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.