Ich denke es heißt Superimposing oder so...
Ich mach das z.B. für TForm.
Deine
Unit die TRichEdit Implementiert muss "nur" in der Uses hinter der original
Unit stehen und schon wird Deine Implementation verwenden.
Mavarik
No sure i do understand this,
Do you mean introducing the interposer for TMyRichEdit itself ?
, one level before, like,
Code:
uses
MyRichEditUnit;
type
TRichEdit = class(
Vcl.ComCtrls.TRichEdit) // TRichEdit on the left side is TMyRichEdit but renamed, and MyRichEditUnit must be in uses clauses before
Vcl.ComCtrls in the form that uses it
....
This might work !