Please, I would like to insert a textbox into my application in which the user puts a date that remains even when the application is turned off and restarted, but which can also be changed as needed. A thousand thanks.
Hello Maurizio,
you need to use TinyDB to store the variable with the value and to be able to recover it when restart the app.
Please would you be so kind as to show me how to set the blocks?
something like this:
If you want to choose a date you can use a DatePicker component instead of a textBox. Anyway, the operation of TinyDB is the same: SoreValue to store a value associated to a tag and GetValue to recover the value stored associated to a tag.
Ramon thank you so much, you are very kind, God bless you!
Iceberg warning...
1 Like