Checkbox symbol.

G

Geoff Taylor

In a report, I have checkboxes as part of an option group frame.
By default, checkboxes appear as a square with a check mark.
I don't seem to be able to change the transparency or border colour of this
symbol.

Is there a method of displaying just the check mark without the box?
For example, is it possible to change the symbols used for an unchecked and
a checked box?

I need to place the checkboxes over the top of some text, but with the
minimum of obscurity of the text.
The default unchecked boxes and checked boxes tend to take up too much of
the area and tend to obscure the underlying backgound text. I have been able
to set the visible property to clear the unchecked boxes, using an event
procedure on format for the report. However, the checked boxes are still a
problem.
 
D

Douglas J. Steele

There's very little you can do to change the checkbox control.

What you can do, though, is use a textbox.. Set the font to WingDings, and
set its control source to

= IIf([BooleanField], Chr$(252), Chr$(32))
 
M

Marshall Barton

Geoff said:
In a report, I have checkboxes as part of an option group frame.
By default, checkboxes appear as a square with a check mark.
I don't seem to be able to change the transparency or border colour of this
symbol.

Is there a method of displaying just the check mark without the box?
For example, is it possible to change the symbols used for an unchecked and
a checked box?

I need to place the checkboxes over the top of some text, but with the
minimum of obscurity of the text.
The default unchecked boxes and checked boxes tend to take up too much of
the area and tend to obscure the underlying backgound text. I have been able
to set the visible property to clear the unchecked boxes, using an event
procedure on format for the report. However, the checked boxes are still a
problem.


Just use a text box with a font that contains a check mark.
Set the text box's Format property to this sort of thing:

"";<char code for check>;"";""
 
G

Geoff Taylor

Thanks Doug...

I replaced the option group frame, with three text boxes with the following
control sources...
=IIf([OA1]=1,Chr$(252),Chr$(32))
=IIf([OA1]=2,Chr$(252),Chr$(32))
=IIf([OA1]=3,Chr$(252),Chr$(32))
and the font set to wingdings in each.

This certainly gives much greater control over the printout.
I can now overlay these text boxes on the text as required.

Much appreciated!!

Douglas J. Steele said:
There's very little you can do to change the checkbox control.

What you can do, though, is use a textbox.. Set the font to WingDings, and
set its control source to

= IIf([BooleanField], Chr$(252), Chr$(32))
 
Top