<div dir="ltr">Hello,<br><br>Is there a way to tell in run-time that a specific function/procedure should belong to a class ?<br><br>For example, let's say I have the following class:<br><br>Type<br> TTest = class<br>
procedure Foo;<br> end;<br><br>And I have also:<br><br>procedure Bar;<br>...<br>end;<br><br>Is there a way to make at some point of my code execution, that Bar will be a method of TTest ?<br>Or maybe for a specific instance of TTest ?<br>
<br>Thanks,<br><br>Ido<br>
</div>