Falls es jemanden interessiert die Lösung ist folgende:
Man muss ab Delphi 2006 für jede
VCL.NET-Komponente ein Bitmap mit 16x16 Pixeln und 256 Farben erstellen und unter dem Klassennamen der Komponente (inkl. Namespace) abspeichern.
Danach kann man das Bild per {$R} einbinden:
Delphi-Quellcode:
unit MyNamespace.MySubNamespace.MyComponentsReg;
interface
procedure Register;
implementation
uses
Borland.Vcl.Classes,
MyNamespace.MySubNamespace.MyComponentUnit;
{$R 'MyNamespace.MySubNamespace.MyComponentUnit.TMyComponent.bmp'}
procedure Register;
begin
RegisterComponents('
MyComponents', [TMyComponent]);
end;
mr2
"... we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we don't know. But there are also unknown unknowns - the ones we don't know we don't know."