I would like to subclass TToolBar with another class called MyTToolBar so that I can override a method. I\'m new to Delphi, but after two hours of trying various methods, I
Create a unit for you class:
Unit YourComponent;
interface
uses
....
Type
TYourNewClass=Class(ExistingClass)
private
...
protected
...
public
...
published
end;
procedure Register;
implementation
.....
procedure Register;
begin
RegisterComponents('YourPalette', [TYourNewClass]);
end;
create a new package (or open an own existing) and add you unit choose install on you Package.bpl.