N
Nak
Hi there,
I'm having issues inheriting from a base form of mine. The base form
contains no user controls but quite a few properties, events and
overridable methods.
When attempting to inherit from this from the designer is refusing to
show me it, and instead gives me this error message,
The designer must create and instance of type 'blabla...' but it cannot
because the type is declared as abstract.
So I guess my first question is why? It's inherited from "Form" so it's
not technically an abstract class at all, it's a derived from with parts
added. My understanding of an abstract class is one that simple contains an
object reference to the class it is abstracting...
'~~~
Public class myabstractform
Public baseform as form
End class
'~~~
Now I've had this working on previous occasions but not this time, what
could I have done to the base form to get this error? Surely it must be
down to something quite trivial. Thanks in advance for any help!
Nick.
I'm having issues inheriting from a base form of mine. The base form
contains no user controls but quite a few properties, events and
overridable methods.
When attempting to inherit from this from the designer is refusing to
show me it, and instead gives me this error message,
The designer must create and instance of type 'blabla...' but it cannot
because the type is declared as abstract.
So I guess my first question is why? It's inherited from "Form" so it's
not technically an abstract class at all, it's a derived from with parts
added. My understanding of an abstract class is one that simple contains an
object reference to the class it is abstracting...
'~~~
Public class myabstractform
Public baseform as form
End class
'~~~
Now I've had this working on previous occasions but not this time, what
could I have done to the base form to get this error? Surely it must be
down to something quite trivial. Thanks in advance for any help!
Nick.