"this" in VBScript?
-
There is a keyword in Javascript and C++ - this, that points to current instance of class, function, etc. So my question - is there any such keyword, property or whatever like "this" in VBScript? For example I have a Class and it creates another one, to which I need to pass its parent (this), how to do it in VBScript? Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer
-
There is a keyword in Javascript and C++ - this, that points to current instance of class, function, etc. So my question - is there any such keyword, property or whatever like "this" in VBScript? For example I have a Class and it creates another one, to which I need to pass its parent (this), how to do it in VBScript? Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer
is there any such keyword, property or whatever like "this" in VBScript? Yes:
me
is the same asthis
in VBScript. Same for normal VB. Understanding Events has an explanation and some examples.Paul Watson
Bluegrass
Cape Town, South AfricaColin Davies wrote: ...can you imagine a John Simmons stalker !
-
is there any such keyword, property or whatever like "this" in VBScript? Yes:
me
is the same asthis
in VBScript. Same for normal VB. Understanding Events has an explanation and some examples.Paul Watson
Bluegrass
Cape Town, South AfricaColin Davies wrote: ...can you imagine a John Simmons stalker !
Oh, thanx! Well, I have no idea in VBA, thus didn't know about "Me" :) But hey, it is working now :) Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer