Am I right in my understanding that a custom class cannot inherit 2 base calsses.
Printable View
Am I right in my understanding that a custom class cannot inherit 2 base calsses.
yes.. you can only inherit from one class
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.
HI,
Always search the forum before posting a new thread.
See
http://www.vbforums.com/showthread.p...nested+classes
especially the last two posts.
:rolleyes: Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!