Does this mean that to pass an object reference from within a control method I would pass the control name? Also how does VB handle containership?
Glenn
>>Is there an equivalent to the VFP this? In VFP this is the object reference to the current object. For instance:
>>
>>this.left=100
>>this.top=100
>>
>>
>>Thanks
>>
>>Glenn
>
>
>For forms, it's Me. But note that sometimes it's also implied even without a "Me." For instance, Left will imply me.left if there' snot some other variable named "Left" in scope.
>
>Weird, isn't it? Just another one of the ways that VB tries to help, and seems to encourage bad coding habits (see also: default properties)
>
>For non-form objects, you need to refer to the control name.