Class and Sub Class ? 
Author Message
 Class and Sub Class ?

I want to write the belowe effect :

MainClass.SubClass.Add
MainClass.SubClass.Parent   *** How to get the Parent Object ?

MainClass.SubClass(1).Property_1
MainClass.SubClass(1).Event_1

In SubClass :

Public Sub Event_1( pText as String )
End Sub

Public Property Get Property_1() As String
End Property

Public Property Let Property_1( pProperty As String )
End Property

How to write in MainClass ?
Can anybody give me a example ?

Thank !

Michael Ma



Wed, 07 Mar 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Class and Sub Class ?

2. Class and Sub Class ?

3. Dim obj As New Class crt Dim Obj As Class = New Class

4. derive class from protected class in base class

5. Start sub in Class

6. Form drops into design mode and disables class subs

7. Retrieve name of Function, Sub, Class, Property etc from within that item during runtime

8. Calling a sub from another class

9. Calling a sub in a class.

10. Sub-classes in a different .vb file

11. sub-classing and vb.net

12. A simple control [sub] class?

 

 
Powered by phpBB® Forum Software