Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Me ObjectMe is standard VB shorthand used to refer to the currently used object. Syntax AWith Me Syntax BReturnsUsageSome Siebel VB modules are attached to application objects, and Siebel VB subroutines are invoked when such an application object encounters events. For example, Me may refer to a button that triggers a Basic routine when the user clicks on it, or when a method is invoked on an application object by a program statement. Subroutines in such contexts can use the variable Me to refer to the object that triggered the event (for example, the button that was clicked). The programmer can use Me in the same way as any other object variable, except that Me cannot be Set. ExampleFor examples, read Service_InvokeMethod Event and With Statement. See AlsoCreateObject Function |
Siebel VB Language Reference |