-
Hello,
I knew at VB and was wondering if anyone can give some examples in VB where there is a child and parent relationship like in C++?
Marci
-
forms?
dont know if you mean relationship between forms or classes or what ever.. but if your talking about forms
MDI is the parent form over all other forms(childs)
to add a mdi form
go to project-add mdi form...
sorry if thats not what you wanted
-
Marci S:
Add a MDIform to your appliaction. Then all other forms set MDIchild property = true.
-
I was just curious if VB is object oriented because everyone says it is but I'm not sure how to implement a child and parent relationship. The example about MDI is parent and the other is child is one example -- are there other examples where you can have a parent and child relationship?
-
still confused
vb is some what an OOP
using classes you can have parent relationships throu classes... like there could be a company(the parent)
and employee being the children..
wait till this coming spring
and vb will be TRUELY OOP
-
How do you implement classes in VB??
Marci Sarwan
-
Use ClassModules.
No inheritance. Well, actually, very limited inheritance, using the Implements keyword.
Not nearly as powerful as C++ classes. But this is VB we're talking about. :rolleyes: