473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Why checkbox within groupbox not respond to enable/disable

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?
Dec 4 '07 #1
3 2979
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
Dec 4 '07 #2
DougE" <Do***@discussions.microsoft.comschreef in bericht
news:A3**********************************@microsof t.com...
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!]
----------------------------------------------------------------
Dec 4 '07 #3
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!

"Cor Ligthert [MVP]" wrote:
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
Dec 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Mullen | last post by:
I want to take the following HTLM and use javascript to turn on radio buttons if checkbox is checked, can I do this with javascript (maybe onClick or an array) or do i need a server side script ?...
6
by: Ben | last post by:
Here's what I have se far: <script type="text/javascript"> other_text.disabled = true; function other_text() { other_text.disabled = (other_check.checked == false)? false : true; } </script>...
6
by: ML.Steve | last post by:
Hi, There are lots of posts on this subject but after a couple of hours of going though them I still can't get a number of fields to be disabled when a checkbox is ticked. Basically I have a...
2
by: Kufre | last post by:
I need anyone that have done this before to help me. I'm creating a form in Access, in the form has two two checkbox, checkbox A is paid, checkbox B is partial_paid. I want the set the checkbox so...
5
by: fred | last post by:
hiya, I have got a checkbox in one of my cells in the ediit item template. Now i need to enable/disable a textbox in another boundcolumn. the problem i am facing is the checkchanged event is...
3
by: Sven Vandamme | last post by:
i want to disable of enable a groupbox with a checkbox but it doesn't want to disable i can enable it but not disable it again <code> Private Sub new_project_Load(ByVal sender As System.Object,...
4
by: Matrixreloadedth | last post by:
How to change disable color of Checkbox??? I have a checkbox with forecolor in red but when i disable by set Enable properties to false forecolor is changed to gray color but i don't want it. how...
6
by: tshad | last post by:
I am trying to disable and enable a checkbox from javascript. The problem is that if the checkbox starts out as: <input id="Override" type="checkbox" name="Override"/> I can change it back...
2
by: Kevin | last post by:
I've been looking all over and I can't seem to find what ought to be simple. I need to disable a drop down when a checkbox is checked, and enable it when same checkbox is unchecked. I've...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.