Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling option buttons
Message
 
To
24/05/1999 19:24:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00222237
Message ID:
00222495
Views:
28
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

Previous
Reply
Map
View

Click here to load this message in the networking platform