As written in the title, how permanently save a text written in an EditText and added in a ListBox? (when I reopen the rollout, the text written before is present in the listbox)
Below is my example:
-----------------------------------------------------------------
rollout t "test"
(
listbox l1 "" items:#()
edittext ed1 ""
button b "Insert Name in ListBox"
button s "Save Text in Listbox"
on b pressed do
(
if txt != "" do
(
l1.items = append l1.items (ed1.text as string)
l1.selection = l1.items.count
ed1.text = ""
)
)
on s pressed do
(
-- How save the text???
)
)
createdialog t
------------------------------------------------------------
Waiting for help, a greeting from
Michele
Question off topic:
how to write script code in discussions?
By Michele71 · 2010-09-20
Graph · 2010-09-21
Anubis · 2010-09-21