<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi All,</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">
Is the property of "virtual" inherited? i.e. if a method in parent class is virtual, same method in child class is also virtual, right?</div><div class="gmail_default" style="font-family:courier new,monospace">
<br>
</div><div class="gmail_default" style="font-family:courier new,monospace">TBase = class</div><div class="gmail_default" style="font-family:courier new,monospace">public</div><div class="gmail_default" style="font-family:courier new,monospace">
destructor Destroy; override; //<-- is this enough</div><div class="gmail_default" style="font-family:courier new,monospace"> destructor Destroy; virtual; override; //or this to ensure it is still virtual?</div><div class="gmail_default" style="font-family:courier new,monospace">
end;</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks,</div><div class="gmail_default" style="font-family:courier new,monospace">
<br></div><div class="gmail_default" style="font-family:courier new,monospace">Xiangrong</div></div>