I have my custom Delphi component used in many my programs.
After code upgrade I changed my custom event TUvValidateEvent type (parameter count and types), however Delphi (I use XE1 or simply XE) compiler compiles my programs and do not warn me about dependencies I need to change.
How to automatically check this to be able to fix it, without finding all event uses by hand?
Sample:
Component.pas
//OLD
TUvValidateEvent = procedure(ErrMsg: UnicodeString) of object;
//NEW
TUvValidateEvent = procedure(Sender: TObject; Data: TUvValues; var ErrMsg: UnicodeString) of object;
Code.pas
procedure TMyForm.OnUvValidate(ErrMsg: UnicodeString); //Need to find this automatically.
P.S. Changing event property name is fix I currently use, however, I would prefer not to.