runtime error 2101

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hi,

I've a form with some toggle buttons on it. the buttons are enabled or
disabled depending on the previous form's combobox values.

the problem is that one button gives me an error, where i could not set
the enabled-property to false. All the other buttons work.

If i delete that button the next button gives me the same error. Is
there a solution to this or a workaround?
 
It sound like you are trying to modify the enabled property of a control that
has the focus. You can't do that. You will have to find a way to execute
that code before any of the buttons have the focus.
 
Klatuu said:
It sound like you are trying to modify the enabled property of a control that
has the focus. You can't do that. You will have to find a way to execute
that code before any of the buttons have the focus.

:
Hi Klatuu,

Do you have a suggestion? I've tried the onload and onactivate, but that
didn't work either.
 

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

Similar Threads


Back
Top