Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Security Problem
Message
 
To
26/06/2003 18:25:40
Bill Breay
Custom Business Software
Arvada, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00803120
Message ID:
00804664
Views:
22
Bill,

>I need the button to respond to each individual container depending on its security level. If 1 is R/O and the other is full I need the OK and Cancel buttons to be enabled. If both are Full I need the buttins enabled. If both are R/O (or none) I need then disabled.

In that case, it sounds like it would be best to dynamically call the appropriate SetAccessXXXX method on the buttons at run time. In the Init of the form, you can check the security level of the containers, and call the appropriate methods on the buttons.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform