Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: Stealth on February 07, 2005, 01:02:55 pm
-
i have a checkbox... and when i click that checkbox, i want it to enable a field ('enable' and 'unlock' the field) so that i can enter it in
for example
[ ] Program 1 *text box*
[ ] Program 2 *text box*
so that when i click the box next to Program 1, it enables the "text box" to be typed in... (it'll be greyed out before)
how do i do that?
-
Help me dammit
...please
-
It's been a while...is there a way to associate the text box with the check box? ...sorry, I don't have a database to screw around with and figure it out for ya(assuming I could find my text book)
-
Ahhh.. gimme a sec.. .I think I remember how to do this...
[edit] Bah.. Access keeps freezing on me. Sorry. Can't help.
-
yeah i did it another way :-/
thanks for trying to help though Thorn and Liberator :)
-
Use the OnClick event of the checkbox to set the enabled property of the textbox
Me!txtEnabled.Enabled = False
or true as the case may be.