In that case, you could to refer to the option group as:
thisform.pgfMyPageFrame.pgMyPage1.opgMyOption.enabled=.f.
Substituting the object names with your own of course.
Note: In order for the individual option buttons to actually appear disabled (greyed out), you'd use the option group container's setall() method:
thisform.pgfMyPageFrame.pgMyPage1.opgMyOption.SetAll("enabled", .f.)
Otherwise you are disabling the container and not it's contents. Either way the option buttons will be in-accessable, but using the second method makes this clear to the user.
>Ken, thanks for your interest in my question. My option group is in page one of a page frame. Randy
kenweber
GCom2 Solutions
Microsoft Certified Professional