samatra 85 Posted September 27, 2013 Hi. I need to have several of same Controls Groups with only one difference - coordinates and idcs. The problem is that I'm not sure how to organize proper inheritance and avoid copy-pasting of same stuff. class Group:RscControlsGroup { ... class Controls { ... many controls here with different idcs ... }; }; class Group2:Group { ... different coordinates ... class Controls; ??? }; So how would I redefine idc values of some controls inside Group2->Controls without having to copy-paste everything? Preferably without using pre-processor commands. Share this post Link to post Share on other sites
headswe 17 Posted September 28, 2013 Don't put controls {} because then you override "Group" controls so class Group2:Group { x = 342 y = 012 }; Share this post Link to post Share on other sites
samatra 85 Posted September 29, 2013 The thing is that I need to edit these Controls, only some values inside specific control. Share this post Link to post Share on other sites