Hi Bhavbhuti,
I would not add a MemberClass to an existing class. You will need to create a new base class with the member class and then port over. I tried adding a MemberClass to a working grid once and it broke all kinds of things. The good news is that MemberClass works good if you use it right.
>Hi all
>
>I was trying to use MemberClass of the PageFrame to provide a Page class of mine. I did get the warning that stuff will change to my Page class, but this changes also for all forms where I have used the PageFrame, all the controls on the forms have disappeared because the page names have changed. My class definition is as follows:
>
>
DEFINE CLASS cpagPage AS PAGE
> FONTNAME = "TAHOMA"
>
> FUNCTION ACTIVATE()
> DODEFAULT()
>
> THISFORM.RefreshOnce()
> ENDFUNC
>ENDDEFINE
>
>I tried to change the line DEFINE CLASS cpagPage AS PAGE to DEFINE CLASS Page AS PAGE but then the problem goes away and so too my class usage.
>
>Please advise if I can use custom Page class without co-lateral damages or hacking the forms and classes.
>
>Thanks.