>We have the following problem :-
>
>A form class defined in a .VCX is instantiated. This form contains an instance of a textbox class. The textbox instance has method code attached to it.
>
>We need to be able to access the textbox method code at runtime. However, GETPEM() seems to return the code from the textbox class rather than the instance of the textbox.
>
>Any ideas on how this can be achieved ?
>
>Thanks in advance.
>
>Jon.
Jon,
If you just need to access it, do you mean call it from somewhere? The syntax is: ThisForm.control.method()
For example, ThisForm.txtMyTextbox.Init()
Kind Regards,
Mat