Ditto what Rick said. It is possible to do this and I use this a lot in test code I write where I want to test that both ResDialogs and RcDialogs are behaving correctly.
I'll see if I can find some example somewhere. -- Mark Miesfeld On Sat, Aug 18, 2012 at 9:27 AM, Oliver Sims <oliver.s...@simsassociates.co.uk> wrote: > I have a design that requires the following class structure: > > ::class RcView subclass RcDialog ::class ResView subclass ResDialog > > ::class View1 subclass RcView ::class View2 subclass ResView > > The topmost classes - RcDialog and ResDialog - are of course > ooDialog-provided classes. > The methods in RcView are identical to those in ResView. So I thought I > could use a mixin so as to have a single code base for these two classes. > Then I'd have RcView and ResView as essentially empty, and use the mixin to > provide their (common) methods and code. > > But I can't seem to get the mixin capability to work in that way. Perhaps > mixins cannot do what I want. Or perhaps I'm reading the RexxRef wrongly. > > Is there any way to do what I want with a mixin? Or should I be taking some > other approach altogether? > > Thanks > > -- > Oliver Sims > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Oorexx-users mailing list > Oorexx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users