Link to home
Start Free TrialLog in
Avatar of Roger Alcindor
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 ?
Avatar of Roger Alcindor
Roger Alcindor

ASKER

Edited text of question.
ASKER CERTIFIED SOLUTION
Avatar of AlexVirochovsky
AlexVirochovsky

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.