Centering Controls on Reports

mimottershaw

Registered User.
Local time
Today, 16:54
Joined
Feb 2, 2007
Messages
40
Dear All,

Is there a simple way of centering a control (i.e. a checkbox) on a report? The checkboxes seem to be aligned to the top right of the field that they are in. I have tried removing the report's Contol Layout, but the report's layout is then competely disrupted. Surely it must be possible?!?!?!?

Thanks in advance

Mark.
 
Seems I nudge them around with alt arrow ?
 
The Checkbox is inside a frame, and cannot be moved without disrupting the rest of the report, i.e. the headings which the frame is grouped with (the headings are in the right place). ????
 
Generally, positioning of controls is not easy in MSAccess. On forms, there is a ruller
but You should think of sliders which are not in design wiew, and high of form is always problematic. You have to waste some time to complete it as You wish. In reports it's worse. But experimenting You should ease yourself.
 
Once the Layout switch has been removed the individual elements can be placed at will. In 2007 at least the control and label can be moved separately by dragging from the brown handle in their corner. Otherwise they move together.

I imagine a VBA procedure could be written to realign all the checkboxes relative to their labels. It would loop through the form or report measure and adjust the position based on the association. There would have to be some property or attribute of the label that indicates which control it is associated with. I don't know what it is called though and I can't see any likely candidates in the usual properties list. I would be interested if anyone knows how it is recorded.

Always remember that location and size properties can be edited in groups by selecting multiple controls. Multiple selections only display a value for a property when all controls share a common value. Enter a value to set it for all selected.

It is too bad controls cannot be assigned to arbitrary groups so they will be moved together just like the labels are linked to their associated control.

BTW clicking the label of a checkbox will toggle the box so I always enlarge the label to encompass the area around the box so that a near miss will still be registered.
 

Users who are viewing this thread

Back
Top Bottom