Me keyword

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Jim

It refers to the current object. So if you are in a form then it is that
form. If you are in a class then it is that instance of the class. It is the
same as the C++/C# 'this'.

HTH

Charles


Jim said:
In Visual Basic .NET, does the Me keyword always refer to the current
form?
 
* =?Utf-8?B?Smlt?= said:
In Visual Basic .NET, does the Me keyword always refer to the current form?

In addition to the other reply:

If you need a reference to the active form, use 'Form.ActiveForm'.
 
Back
Top