Mike,Without testing myself...The Control object does not have a property of "ReadOnly". The property you would be looking for is "Enabled". Controls with Enabled = True can be edited, those with Enabled = False will be grayed out.Still, you'd need some additional changes besides this. I don't believe that while in a checkbox control you can get to the ThisEvent.Object.Pages().Control() property. You've got to get back out to it's parent.I would try something like this during the onclick event of the checkbox control:Dim myvalue myvalue = ThisEvent.Object.Value If myvalue = "True" Then ThisEvent.Object.Parent.Parent.Pages("PAGE1").Controls("domComboBox").Enabled = True
You would probably need to set the default value for the checkbox to "False" so that it opens unchecked. Also, if you wanted to enable the ComboBox with a checkbox value of True, you should probably set the state of the combobox to be read-only by default.