Maybe a stupid question, but how do I change a value of a textbox out of a thread?

Textbox is created in the main program. On a button click, a thread is launched and detached, but that thread can’t change the value of that textbox.. always getting: “thread failed to start: can’t call method “change” on unblessed reference at …”.


Thanks in advance,