C
cqwty
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button1Click(Sender: TObject);
begin
Memo1.Lines.Add(inttostr(longint(@self)));
Memo1.Lines.Add(inttostr(longint(self)));
memo1.Lines.Add(inttostr(longint(@form1)));
end;
这几个的值为什么各不相同呢?如何才能通过self得到和@form1一样的值呢?
begin
Memo1.Lines.Add(inttostr(longint(@self)));
Memo1.Lines.Add(inttostr(longint(self)));
memo1.Lines.Add(inttostr(longint(@form1)));
end;
这几个的值为什么各不相同呢?如何才能通过self得到和@form1一样的值呢?