constructor Create(AOwner: TComponent; MapName: string); reintroduce;
后面的reintroduce是什么意思?有什么作用?

解决方案 »

  1.   

    Use reintroduce when you want to hide an inherited virtual method with a new one.
      

  2.   

    学会看帮助
    The reintroduce directive suppresses compiler warnings about hiding previously declared virtual methods. For example,procedure DoSomething; reintroduce;  // the ancestor class also has a DoSomething methodUse reintroduce when you want to hide an inherited virtual method with a new one.