I hello i want to add a new lyric every time the new lyric button is clicked but i get an error. how to fix it ?and when new lyrics are added, the text in the first textbox id remains as it was. thank you
share your button block
or if you want can share aia file i will edit it for you
Ans my question… Once you created and after screen reopen do you want to reget all the text boxes or have to start with only one box?
Ok, here it is… If you click add new. text boxes will create new but once you restart it will restart from 1. If you want from the beginning, then you need to use tinyDB. This and all simple one. If you have idea, certainly you can get it
Presenter_lagu(1).aia (274.0 KB)
More fast
The problem is that I didn’t opened the aia and spelling of my name
No when reopen screen i just want 1 textbox only.
thank you this is exactly what i needed.
But then how about when you click add new, then the text on id 1 remains as before? can it be done without having to save it first on tinydb? because I want to save it after the number of lyrics added is in accordance with what the user wants
this is my logic.
-
Initally there must be one box. so i set the from num as 1 (default) to number as 1(through global variable)
-
if i press a button , i cleared all the created dynamic component and will add +1 with global variable. so now from number will be as 1 and to number will be global variable number +1.
-
likewise procedure will go on…
Is my suggestion solves your query?
this is what i want. when I click add new I want the text in the textbox 1 to remain or not be deleted.
but i got the idea ,maybe to temporarily store it in global variable. thank you so much for helping me
oh, i didnt think such a concept. it is not a difficult one… If possible you try if not just let me know. it can be solved in matter of minute. Removed solution mark??
Oh thank you i have removed solution mark. Please if you can solved this with ur solution. Thank you
@Berkat-has , sorry for the delay… as i had a online class…
BTW, this is not a big issue. Still if you didnt get any idea, then use this…
Presenter_lagu2.aia (273.7 KB)
hello thanks for helping me, this is what I want. sorry long time to reply. both solutions work. how do I mark both as solutions?
how do I mark both as solutions?
It is up to you