Google tells me you can't resize the checkbox control, but you can use a label control and place a Wingdings character in it. 0xFE gives you the tick icon
How is 0xFE inputed to the label? I presume some keyboard combination?
Google tells me you can't resize the checkbox control, but you can use a label control and place a Wingdings character in it. 0xFE gives you the tick icon
How is 0xFE inputed to the label? I presume some keyboard combination?
You use a text box and the format property
https://www.access-programmers.co.uk...eckbox.305659/
You can also use a command button formatted anyway you want and set the caption property.
You can also use the tag property to assign a value.
Code:If Me.Command1.Caption = "" Then Me.Command1.Caption = "P" 'Capital P is a checkmark in wingdings2 Me.Command1.Tag = -1 Else Me.Command1.Caption = "" Me.Command1.Tag = 0 End If![]()
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
Thanks you, Interesting from CJ.
problem with a button or label is that will only work on a single form, not a datasheet or continuous form.
You can use an image control on a continuous form since that has a controlsource
Some further examples here
https://www.access-programmers.co.uk...s-form.324505/
as adviced, you can use a Label control (using Wingding font) as your checkbox.
see DemoForm form on the attached.
also see the code behind the labels.
Can you provide the link to that quote?
To clarify my understanding, image controls (like labels) cannot receive the focus so using an event (click/mouse events) on an image in a continuous form to reference that record to be able to change the image won't work without a lot of extra work - it will effectively be referencing the current record which may not be the record you think you are on.
However perfectly OK to use to display a value that is not to be changed in this form.
So using a button (which can receive the focus and therefore sets the current record) to display the image is the solution - per the second link I provided
OP has not made clear where the checkbox is to be used and whether or not it is 'updateable' by clicking on it. Merely to resize it.
https://learn.microsoft.com/en-us/of...i/access.imageCan you provide the link to that quote?
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
If this helped, please click the star * at the bottom left and add to my reputation- Thanks