Change the text of Textbox


how can I change the text of a textbox in a function of event handler??

Thanks in advance.

GHIElectronics.NETMF.Glide.UI.TextBox TextBOX = (GHIElectronics.NETMF.Glide.UI.TextBox)window.GetChildByName(“TemperaturAnzeige”);
TextBOX.Text = “Green”;
not works

You will also need to make a call to TextBOX.Invalidate()

As James said, but note that you need to do this for all elements that you make changes to.

By the way, just for future reference, changing anything to invisible and calling Invalidate will not work. The only way to get this to work is to redraw the screen and in the screen create you set the visible state at that time.