Zumindest bei Funktionsparametern gibt es etwas was du tun kannst:
Delphi-Quellcode:
procedure TForm2.FormCreate(Sender: TObject);
var form: TForm absolute Sender;
begin
if Sender is TForm then
form.Caption := 'Test';
end;
Weiß nicht ob dir das vllt. weiterhilft.
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."