千
千中元
Unregistered / Unconfirmed
GUEST, unregistred user!
inhetited 调用基类的同名函数
我前看看:inherited create(true) 明白
后看看
帮助里:inherited can appear with or without parameters;
if no parameters are specified, it passes to the inherited method the same parameters with which the enclosing method was called
例如:
procedure TForm1.Loaded;
begin
ShowMessage('hi');
inherited;
end;
===========不明白的干活!!!
我前看看:inherited create(true) 明白
后看看
帮助里:inherited can appear with or without parameters;
if no parameters are specified, it passes to the inherited method the same parameters with which the enclosing method was called
例如:
procedure TForm1.Loaded;
begin
ShowMessage('hi');
inherited;
end;
===========不明白的干活!!!