I Want To Make System When i click a button a vertical arrangement visibility got false for parmanent using tinydb

How i make it using tiny db

Use any online database instead of tinydb, then it will remain permanently invisible. Because if an user deletes the app or clears the app data then tinydb will be erased.

In the button click event store a tag of your choice (for example Visible) to TinyDB and set its value to false

In the Screen Initialize event check that tag like this

Set VerticalArrangement.Visible to TinyDB.GetValue(tag: Visible, valueIfTagNotThere: true)

Taifun

1 Like