|
-
May 29th, 2000, 04:21 PM
#1
Thread Starter
Junior Member
Hi
I created one interface ( name I’ve given is Isave ) . I was trying to implement this interface. For this I declared the Implements keyword in the class , where I’m going to implement this interface. The interface name is appeared in left-hand (Object) drop down in the code window.
None of the entries will be Isave. I mean When you select it, the right-hand (Procedure) drop down will NOT show the methods of the Isave interface.
Pl. tell me the reason ??? what’s wrong with my code ??? I’m using VB6. any suggestions please ???
Thanks
Sanju
-
May 29th, 2000, 09:19 PM
#2
Addicted Member
Public or Private ?
how did you define the function in the class ?
If you have defined it as private .. like..
private function mymethod()
then it won't be listed externally.
You should have to declare them as public.
hope this helps.
-
May 30th, 2000, 06:34 AM
#3
Also, If you don't specify Private or Public, it automatically assumes that it's Public.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|