I can't change the data in my controls.text when run project

I can't change *** Me.button_Send_Bits.Text = "Enviar" *** When i run the program take another info. :(

Answer this question

I can't change the data in my controls.text when run project

  • RavindraPatil

    The code looks correct and you dont say if its generating an exception or not - I suspect that there is another event which is setting the property back to something else that is being called later in the process, perhaps form load event or perhaps another event.

    I would search the source code for the string that it is being set to and identify the event where this code is being set and settle on one place to set you control properties rather than scattering them around too much.

    I normally handle this in the form load event. But there are other places you can use.


  • I can't change the data in my controls.text when run project