title: Inheritance for VBA code in MS Access
body: <p>I've started to learn VBA in Access. I have read that the language has no inheritance.
  And then I read an example code which seems like it actually has inheritance:</p>
  
  <pre><code>Dim ctrl As Control
  
  ...
  
  If TypeOf ctrl Is TextBox Then ...
  If TypeOf ctrl Is ListBox Then ...
  </code></pre>
  
  <p>It seems to me as the TextBox, ListBox were inherited from the Control. Could somebody explain this?</p>