I've read that it's impossible, but i'm sure the problem i'm facing now has a simple solution.
How could i achieve a sort of "inheritance" in the following type definitions? (written in a .bas module)
I can't imagine something simple as this can't be achieved in VB6 :o
Public Type Dim2D
width As Integer
height As Integer
End Type
Public Type Coord2D
left As Integer
top As Integer
End Type
Public Type Rectangle
'inherit Coord2D
'inherit Dim2D
End Type
Question
W-DOGG
I've read that it's impossible, but i'm sure the problem i'm facing now has a simple solution.
How could i achieve a sort of "inheritance" in the following type definitions? (written in a .bas module)
I can't imagine something simple as this can't be achieved in VB6 :o
Link to comment
Share on other sites
2 answers to this question
Recommended Posts