Making a checkbox bigger

  • Thread starter Thread starter Joanne
  • Start date Start date
J

Joanne

I have a bound checkbox, but in the form the checkbox
looks too small. Is there a way to increase its size?
Thanks for your help.
 
Hi Joanne,

No it's not possible, but here is a great work-around from
the "world-famous" MVP 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
Hope that helps,
 
Thank you so much for your help!
-----Original Message-----
Hi Joanne,

No it's not possible, but here is a great work-around from
the "world-famous" MVP 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
Hope that helps,
--
Jeff Conrad
Access Junkie
Bend, Oregon
-----Original Message-----
I have a bound checkbox, but in the form the checkbox
looks too small. Is there a way to increase its size?
Thanks for your help.

.
 
You're welcome (from Fred).

--
Jeff Conrad
Access Junkie
Bend, Oregon
-----Original Message-----
Thank you so much for your help!
-----Original Message-----
Hi Joanne,

No it's not possible, but here is a great work-around from
the "world-famous" MVP 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
Hope that helps,
--
Jeff Conrad
Access Junkie
Bend, Oregon
-----Original Message-----
I have a bound checkbox, but in the form the checkbox
looks too small. Is there a way to increase its size?
Thanks for your help.

.
.
 
Have you tried switching the form to design view? I think you can simpl
select the box and resize it to suit. If you right click on it yo
could also change other properties too.
Tintin (novice
 
Have you tried switching the form to design view? I think you can simpl
select the box and resize it to suit. If you right click on it yo
could also change other properties too.
Tintin (novice
 
Have you tried switching the form to design view? I think you can simply
select the box and resize it to suit. If you right click on it you
could also change other properties too.
Tintin (novice)
 
tintin said:
Have you tried switching the form to design view? I think you can simply
select the box and resize it to suit. If you right click on it you
could also change other properties too.
Tintin (novice)

No you cannot. You can make the active area larger which controls where
your mouse pointer has to be in order to "click" the CheckBox, but this
does not make the CheckBox look any larger.

You can use a label with a wingding font that looks like a CheckBox and
toggle the character in the click event, but the simplest thing to do when
you want something larger is to just use a ToggleButton instead which can
be sized.
 
Back
Top