Run-time error '2185 in checkbox click event

T

Tony Girgenti

I have a combo box and a check box next to it on a form. If the check
box is checked, i'd like to make the combo box text say something and make
it not usable. When i try that from the check box onclick event, I get a
"Run-time error '2185': You can't reference a property or method for a
control unless the control has the focus"

So how do i make the combo box not usable while i'm in the click event
for the check box ?

Any help greatly appreciated.

Thanks, Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top