Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

TextBoxs causing hassle

Hey,

Just trying to update a textbox running in a seperate class but it doesnt seem to update the txtbox. The method recieves the string but for some reason does not update the box?

Used to call from first class:-

Thor.Logupdate("User Connected");

Method in the textBox's class:-

public void Logupdate(string text)
{
MessageBox.Show(text); //receives string
Log.Text = text; // doesnt update textbox?

}

Being playing with various methods for a while now but can not get it working any help would be very much appreciated!!!

Cheers
[634 byte] By [craigus] at [2007-11-11 7:45:24]