Roger Alcindor
asked on
Borland vcl inheritance problem
I want to have an IDE managed form TForm1, inherit a class of my own in addition to the vcl base class TForm. Something along the lines :-
class TForm1 : public TForm, public TSomeClassOfMine
{
...... whatever
};
Unfortunately, Borland C++ Builder ( I'm using version 4 ) doesn't allow this ! I have been advised ( on a Compuserve forum ) that this is because Borland vcl doesn't support multiple inheritance, is this true. I have a workaround but this isn't the same as inheritance which is the proper soluton for my application. Is there any way of coaxing BCB to achieve the required result ?
class TForm1 : public TForm, public TSomeClassOfMine
{
...... whatever
};
Unfortunately, Borland C++ Builder ( I'm using version 4 ) doesn't allow this ! I have been advised ( on a Compuserve forum ) that this is because Borland vcl doesn't support multiple inheritance, is this true. I have a workaround but this isn't the same as inheritance which is the proper soluton for my application. Is there any way of coaxing BCB to achieve the required result ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This confirms my stated beliefs , apart from that no new insight is provided as I already have a workaround that ammounts to Alex's suggestion. Bearing this in mind, I have downgraded the points to 50.
ASKER