>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.
You can't do this without using the vcx or scx file. The fact that you are trying to generally points out questionable design. What specifically are you trying to do?
Erik Moore
Clientelligence