Matt,
"this." refers to whatever class you're writing the code in. So, say you have a class, MyTextBox, sub-classed from a TextBox ...in that class, "this." would refer to MyTextBox.
public class MyTextBox : System.Windows.Forms.TextBox
{
private string MyString;
private void MyMethod
{
this.MyString = "xyz";
}
}
~~Bonnie
>In VFP "this." refers to the object where the code is running and "thisform." refers to the form that contains the object.
>
>In .C# on NET, I have seen in the sample code I have been studying that "this." refers to the form, so what do you use to refer to the control itself when you are programming code within an object?