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