INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

How to

Create Large Check Boxes by SgtJarrow
Posted: 30 Jul 02

Access doesn't provide you a way to enlarge the check boxes.  Sometimes this just isn't good enough.  Sometimes you need or want check boxes that are larger than the default.  Here's a simply way to do it.

Create a text box.  Name it chkUnchecked.  Set the Locked property to Yes.  Set the font size to 18 (or whatever works for you).

Copy this text box.  Name the copy chkChecked.  Put a capital X in this new box.  Set the Visible property to No.  Place this text box directly over the first one, so the two are on top of each other.

Now, the code to make it all work.  In the AfterUpdate event of txtUnchecked, put:

Me![txtUnchecked].Visible = False
Me![txtChecked].Visible = True

In the AfterUpdate event of txtChecked, reverse it, like:

Me![txtUnchecked].Visible = True
Me![txtChecked].Visible = False

That's it.  You now have a check box that is bigger than standard.  You have to remember to evaluate this later as needed.  You will have to check to see which of the two text boxes are visible and set the checkbox field in your table or whatever as appropriate.

Back to Microsoft: Access Forms FAQ Index
Back to Microsoft: Access Forms Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close