Why checkbox within groupbox not respond to enable/disable

D

DougE

Yes the groupbox is enabled and the checkbox is enabled. Using the click
event does nothing to fire checkbox1.enable = false. the checkbox remains
enabled, and the user can uncheck it. This is not good in this particular
application. Other checkboxes in other groupboxes on the same form work the
way they are supposed to. I can not discern the difference between the
working and non-working versions. Could someone please give me a clue as to
what is going on here?
 
C

Cor Ligthert [MVP]

Dough,

Can you show us the (code) event that you are using. The event in a
groupbox about a checkbox has to be the same inside and outside a groupbox.
(as long as the groupbox is enabled of course).

Cor
 
S

Screaming Eagles 101

Yes the groupbox is enabled and the checkbox is enabled. Using the click
event does nothing to fire checkbox1.enable = false. the checkbox remains
enabled, and the user can uncheck it. This is not good in this particular
application. Other checkboxes in other groupboxes on the same form work
the
way they are supposed to. I can not discern the difference between the
working and non-working versions. Could someone please give me a clue as
to
what is going on here?


Maybe AutoCheck = False/True ?
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
[It's nice to be important, but it's more important to be nice!]
----------------------------------------------------------------
 
D

DougE

Hi Cor --

Actually, that is doh! as in when I noticed there was no Handles keyword
after the event subroutine. It mus have happened when I cut/pasted controls
from another form. Anyway, I added the Handles <control>.Click onto the end
of the subroutine and it now works fine.

Dohhh! Marge....Bart...Lisa!
 

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