Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: Kann man Form.ShowModal; überschreiben?
12. Mai 2015, 16:19
Kennt denn keiner reintroduce?
Delphi-Quellcode:
TMyForm = class(TForm)
private
// ..
public
function ShowModal(AMeinParam1: String; AMeinParam2: Integer): Integer; reintroduce;
end;
implementation
function TMyForm.ShowModal(AMeinParam1: String; AMeinParam2: Integer): Integer;
begin
// Sachen tun
Result := inherited ShowModal();
end;
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."
|