Cheers guys. I wondered if this might be the case.
-Tel
> Yes, he's right.....you can't hide members inside the IDE. It's only if
> you're authoring components where it matters
> ANdy
>
> -----Original Message-----
> From: Imar Spaanjaars [mailto:Imar@S...]
> Sent: 15 March 2001 17:24
> To: professional vb
> Subject: [pro_vb] Re: [_NewEnum]
>
>
> Hi Terry,
>
> Did you look for its properties inside the IDE?? I have done this a
couple
> of times before as well, and I think that inside the IDE of your own
> project the method will always be visible.
> However, when you compile your project and use the compiled result
(DLL??)
> inside another project, the Enum method will be hidden.
>
> Hope this helps,
>
> Imar
>
>
> At 03:49 PM 3/15/2001 +0000, you wrote:
> >According to RockFord Lhotka's book on Business Objects,
> >
> >
> > Private mcolDisplay as Collection
> >
> > Public Function NewEnum() as IUnknown
> >
> > Set NewEnum = mcolDisplay.[_NewEnum]
> >
> > End Function
> >
> >with procedure ID set to -4 and Hide ths member ticked, wil enable me to
> >enumerate through my collection using For...Each...Next, and the NewEnum
> >property will be hidden from my client code.
> >
> >I can enumerate collection but the property always seems to be visible.
> >
> >Does anybody now why this is?
> >
> >Thanks in advance.
> >
> >-Tel