Donald,
The Load event is fired before the object had been initialised. Place the code in the form init method as the object init method will then have been called and it will exists.
HTH
Caroline
>I have a standard form (.SCX) with an embedded PageFrame. I have a statement in my load method for form:
>
>Thisform.pfrtasks_dwgs.Enabled = .T.
>
>When I run the project, and load the form I get the error message (on above line):
>
>Unknown member PFRTASKS_DWGS
>
>I cannot get past this point.
>
>Why the error, and is there a fix, or work-around that anyone is aware of?
>
>F.Z. - Boston MA
>
>NOTE: I checked the object list within the Project (IDE) and saw the
> pageframe object listed by name. Intellisense saw it also.
Caroline