Board index » delphi » Calling methods at run-time via a string
Sasha Rebmann
![]() Delphi Developer |
Wed, 13 Oct 1999 03:00:00 GMT
Calling methods at run-time via a stringHi, I am currently trying to write an interface for the VBScript engine in At the moment, I can read and write the properties of a component at However, I cannot seem to be able to do a similar thing for methods. What i want to be able to do is call a method of a control at run-time, the There seem to be two approaches, neither of which i have got to work: i. Use the MethodAddress function of TControl to return the physical ii. The other way is to use the OLE Automation functions. AFAIK putting Any ideas? Sasha. sa...@rebmann.powernet.co.uk |