|
-
Mar 26th, 2004, 04:58 AM
#1
Thread Starter
Fanatic Member
inheriting 2 base classes, is this possible????
Am I right in my understanding that a custom class cannot inherit 2 base calsses.
-
Mar 26th, 2004, 05:03 AM
#2
Junior Member
yes.. you can only inherit from one class
-
Mar 26th, 2004, 05:41 AM
#3
Thread Starter
Fanatic Member
So what I want to do is create wrapper classes for the printdocument class adding printing routines relevant to my application but I also want to incorporate printpreviewdialog and pagesetupdialog in the class but also expose the events of these classes.
Is the only way to do this via seperate classes i.e. a wrapper class for printpreviewdialog and a wrapper class for printdocument or is there another way.
-
Mar 27th, 2004, 06:34 PM
#4
PowerPoster
HI,
Always search the forum before posting a new thread.
See
http://www.vbforums.com/showthread.p...nested+classes
especially the last two posts.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Mar 29th, 2004, 03:07 AM
#5
Thread Starter
Fanatic Member
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|