Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child Form / Rule Events
Message
From
09/01/2003 11:47:20
 
 
To
09/01/2003 10:30:33
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00739796
Message ID:
00739839
Views:
14
Hi Shane:

> In the checkbox AfterChange event, I am simply doing a thisform.refresh() like in the Pizza example.

What is the check box's control source? Is it based on a field in a table?

>I wanted to put the code to enable or disable those fields in the rule classes IsEditAllowedRule() event.

This works for me -- however, my rule class is in a CDE and not dropped directly on the form. Could you post the code here that is in the IsEditAllowedRule() event method?

IsEditAllowedRule is called higher up the stack by the control's showcontrol method. You can sublcass the controls' showcontrol method to put conditional logic for determining the enabled state of the controls in question.

However, lets try and get your current method to function and then consider other options, if necessary.
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform