Einzelnen Beitrag anzeigen

Benutzerbild von Sir Rufo
Sir Rufo

Registriert seit: 5. Jan 2005
Ort: Stadthagen
9.454 Beiträge
 
Delphi 10 Seattle Enterprise
 
#4

AW: Wie weist man einer Object Procedure eine Variable zu

  Alt 7. Dez 2014, 22:28
Delphi-Quellcode:
TFoo = class
  procedure Bar(printInteractionController: Pointer; completed: Pointer; error: Pointer);
end;

procedure FooBar;
var
  LFoo : TFoo;
  print : TUIPrintInteractionControllerCompletionHandler;
begin
  LFoo := TFoo.Create;
  print := LFoo.Bar;
end;
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ‎ea 0a 4c 14 0d b6 3a a4 c1 c5 b9 dc 90 9d f0 e9 de 13 da 60)
  Mit Zitat antworten Zitat