I am using Borland C++ Builder 5, and have run into a bit of a problem. I have extended the TComboBox class to add a little bit of functionality that I needed. That worked without a hitch. The problem that I am running into is that the opeartor= does not seem to be working in the extended class.
If i write a line like:
WebgistixPackageType[currentPosition] = (WebgistixPackageType->MoreItems->Strings[WebgistixPackageType->ItemIndex]);
I get an error like:
[C++ Error] WebgistixWarehouse.cpp(820): E2285 Could not find a match for 'WebgistixComboBox::operator =(AnsiString)'
So it seems that I need to overload (or atleast create) the '=' operator for AnsiString. Can someone give me some help on this? Thanks!