checkbox
-
hi everybody, how to add event to a check box. as soon as the checkbox is clicked i want to display a label which was invisible earlier. thanx n regards, saurabh.
-
hi everybody, how to add event to a check box. as soon as the checkbox is clicked i want to display a label which was invisible earlier. thanx n regards, saurabh.
click on checbox and then open Properties windows and then click on Events ;)
-
click on checbox and then open Properties windows and then click on Events ;)
hi i am a friend of saurabh.pls also tell what the next step is?
-
hi i am a friend of saurabh.pls also tell what the next step is?
in the code window make the visible property of label true like label1.visible=true; Hope this will work.:)
NEHA GUPTA
-
in the code window make the visible property of label true like label1.visible=true; Hope this will work.:)
NEHA GUPTA
hi but i want textbox to be enabled at the checking of checkbox.else it should remain non-editable. i tried what u suggested.but it didnt work.
-
hi but i want textbox to be enabled at the checking of checkbox.else it should remain non-editable. i tried what u suggested.but it didnt work.
It takes two of you to work this out ? Are you in a class ? If not, then you need probably to give up on windows for a while and learn enough basic programming to give you a background which would make you able to follow how these things work. A checkbox has an event which is fired when the check state is changed. What you do when that happens is up to you, if it's setting the Enabled property, the Visible property, or something else. You asked to make a label visible, the answer you got was correct.
Christian Graus - C++ MVP