title: Convert method pointer to integer, then call it
body: <p>I'm wondering if this the following is possible or not, if yes, how? Code example please.</p>
  
  <ul>
  <li>How to store a <strong>pointer to a method of a object</strong> as an <strong>integer value</strong>?</li>
  <li>How to convert that integer value back to a 'method pointer' and <strong>call it</strong>?</li>
  </ul>
  
  <p>What I want to do is store a 'method pointer' in the integer Tag value of a TComponent-derived object, and sometime later call the stored method. You can assume all met methods have the same definition. </p>
  
  <p>Thanks!</p>