|
-
Feb 5th, 2000, 08:47 PM
#1
Thread Starter
Hyperactive Member
Sorry for the cryptic subject line - didn't how to describe it!
I have a checkbox on a form. When the checkbox is checked I want a textbox underneath to become enabled and when the checkbox is NOT checked, I want the textbox to be NOT enabled. Any idea why this won't work:?
Private Sub chkbox1_Click()
If chkbox1.value = true then
txtbox1.Enabled = True
else
txtbox1.Enabled = false
End If
End Sub
Simon Pearce
Network Manager
Higher Side School
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|