PC Review


Reply
Thread Tools Rate Thread

Change Check Box Size

 
 
=?Utf-8?B?TmlnZWw=?=
Guest
Posts: n/a
 
      18th Apr 2006
Is ther any way to change the size of a check box on a form

thanks


 
Reply With Quote
 
 
 
 
Jeff Conrad
Guest
Posts: n/a
 
      18th Apr 2006
No it's not possible, but here are some great work-arounds from
MVP FredG and Doug Steele:

FredG
>>>>>>>>>>>>>


Can't make it bigger but you can work around it.
Here is the coding needed.

Add an unbound label to the form detail section.
Set its Caption to "o" (small letter "o")
Set it's Font to WingDings
Set it's font size to whatever you want (perhaps 24)
Place this label where you wish to see the check mark.
I've named it LabelLargeCheck.
Set the actual CheckBox.Visible to No.

Code the Label's Click event:

Private Sub LabelLargeCheck_Click()
[CheckBox] = Not ([CheckBox])
If CheckBox Then
LabelLargeCheck.Caption = Chr(254)
Else
LabelLargeCheck.Caption = "o"
End If
End Sub

Code the Form Current Event:

Private Sub Form_Current()
If [CheckBox] Then
LabelLargeCheck.Caption = Chr(254)
Else
LabelLargeCheck.Caption = "o"
End If
End Sub

If you want a CheckBox field label then just add another
unbound label and set its caption to the CheckBox field
name. Leave it Visible.

Don't forget to change the name of the CheckBox in this
coding to whatever your Checkbox field is.
That should do it.

Clicking on the new Label is equivalent to clicking on the
CheckBox field itself.

Fred
>>>>>>>>>>>>>>


Also,
From MVP Doug Steele:

>>>>>>>>>>>>>>


See my March, 2004 "Access Answers" column in Pinnacle Publication's "Smart
Access".

You can download the column (and accompanying database) for free at
http://www.accessmvp.com/djsteele/SmartAccess.html

--
Doug Steele, Microsoft Access MVP

>>>>>>>>>>>>>>


Hope that helps,
--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conrad...essjunkie.html
http://www.access.qbuilt.com/html/articles.html

"Nigel" wrote in message:
news:E3319DA6-376E-4054-835C-(E-Mail Removed)...

> Is there any way to change the size of a check box on a form



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change size of check box toolman74 Microsoft Access Forms 9 19th Jun 2008 04:35 PM
How do I change the size of a check box? =?Utf-8?B?Sm9lcmdpZW1hbg==?= Microsoft Excel Misc 1 11th Feb 2006 02:36 AM
Is it possible to change the size of a check box? =?Utf-8?B?VHJpcGFjZXI=?= Microsoft Access Forms 10 17th Nov 2005 08:02 AM
Change check box size and fount size? =?Utf-8?B?R2VvcmdlIE1vcnJpcw==?= Microsoft Excel Misc 1 21st Oct 2004 11:58 PM
Change size of Check box Rick Microsoft Excel Misc 2 17th Oct 2003 02:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:37 PM.