Hi,
Is there any way to execute a function by using it's pointer?
The reason I want to do this is: I have a control on a form that I
have wrapped with a class. I want to be able to dynamically assign a
function that is in the form's code to an event defined in the wrapper
class. The application.run function won't recognise the name of the
function in a form (at least I don't know how to make it so). e.g.
Applicaion.Run "Form_fMyForm.M yFunction" So I thought that pointer to
the function might work - if I could figure out how to execute the
function using it's address.
Thanks in advance
Pachydermitis
Is there any way to execute a function by using it's pointer?
The reason I want to do this is: I have a control on a form that I
have wrapped with a class. I want to be able to dynamically assign a
function that is in the form's code to an event defined in the wrapper
class. The application.run function won't recognise the name of the
function in a form (at least I don't know how to make it so). e.g.
Applicaion.Run "Form_fMyForm.M yFunction" So I thought that pointer to
the function might work - if I could figure out how to execute the
function using it's address.
Thanks in advance
Pachydermitis
Comment