Einzelnen Beitrag anzeigen

question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#5

AW: access value by Property

  Alt 22. Aug 2013, 19:54
Thanks for suggestion

but how can i initialize the ID:Integer in event handler, becasue in event handler i cannot add any parameter, for example

Code:
procedure TForm1.Button1click(Sender: Tobject);// i cannot set anyother parameter,then delphi compiler automatic delete the adding parameter
begin
 //here i need the value of ID,which is for example 20, if i declare var ID: Integer here then it give me the value 0
end;
end.
  Mit Zitat antworten Zitat