Results 1 to 2 of 2

Thread: why this doesn't work

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    u.s.a
    Posts
    127
    if I have 3 callsses as such:

    class base containes:

    public sub ba()
    end sub
    ---------------
    class derived1 containes:

    imlplements base
    public sub base_ba()
    end sub
    ---------------

    class derived2 containes:

    implements derived1

    public sub derived1_base_ba()
    end sub
    ---------------

    I get an error message telling me I haven't fully implemented derived1 in derived2.
    Why?

    this works if I change the scope of the sub base_ba, in derived1, to private.
    but then it is not considered a method i hve to implement in derived2.
    Does this meen I one can't implement the interface of a derived method that is derived from a base ?
    Thanks.
    Dan.



  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    I'm not sure if Implements can go three levels, but I don't do much with it as its unstable and unreliable as well as often unhelpful. My only bet is to try going into the classes and make sure ALL the properties, methods, events, etc are derived. Otherwise it will flop as you mentioned.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width