How can I save text of textbox with a button click?

Hello team and members kindly help me how can I save text of textbox with a button click and after saving how can I edit and re-save in that textbox... Kindly give me an idea...

Hello,

you can use tinyDb to store the textBox.Text when the button is clicked.

Ok and how can I update the current textbox with some new words...

1 Like

Thanks sir....For giving me information....And can I show multiple textbox texts in listview.

make a list with the texts from the textBoxes and set it to the ListView.Elements.

Kindly watch this short video and guide me how can I show these textbox texts in listview.

Do you want every time you click a "Save" button to save the contents of the textBox as a new item in the list and then show it in the spinner?

Yeah I want that kindly guide me

Thanks for giving me this information I will try it now

Search this board for a To Do List app.

If I reset application data then textbox texts will remain in tinydb or it will erase also

If by reset you mean restart the app, yes, the data stored in tinyDB will remain there.

And how can I delete an item from list

Read the list from tinyDB, remove the item from the list, store the list again in tinyDB. Set ListView to the modified list.


Sir kindly watch this short video i created this application with the help of listview and clouddb..I added items in listview and stored data in clouddb...Kindly give some information about how can I make like this application without any clouddb or tinydb...is it possible

TinyDB and/or CloudDB are necessary if you want to store persistent data in the app. So, depending on what you want to do, you can do it without cloudDB/tinyDB or not (you have other storage alternatives....firebase, googleSheet).

1 Like

Thanks :+1: and one last thing give me an idea about button lock with timer after clicking it..if a user click on a button so button will disable for some moments of time with unhackable timer...

image