What’s the difference between borders and gridlines?
Why are both borders and gridlines used to demarcate the controls?
What are the relation between (top, bottom, left, right) padding and (top, bottom, left, right) margin?
What’s the gridline? Is it the gridline normally shown in the Desgin View (see the screenshot)?
Thanks for your help.
Armstrong
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Border vs. gridline
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Border vs. gridline
- This topic has 17 replies, 3 voices, and was last updated 15 years, 9 months ago.
AuthorTopicWSarmsys
AskWoody LoungerAugust 7, 2009 at 7:07 pm #461740Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody LoungerAugust 8, 2009 at 5:08 am #1172706Grid points and gridlines on a form or report as in your screenshot are displayed in design view only; they help you to place and align controls accurately. They are not displayed when you open the form or report to view data.
Access 2007 has a new set of properties for gridlines of a control; the padding properties are associated with these. Since I don’t have Access 2007, I don’t know anything about them.
Borders are used to demarcate the edges of controls visually; they are displayed in design view and when viewing data. You can apply a variety of 3D effects, line styles, line widths and line colors to borders.
The top, left, bottom and right margins of a control determine the space between the edges of the control and its contents. For example, if you set the left margin of a text box to 0.3 cm, the text will start 0.3 cm from the left edge of the text box, even if it is left-aligned.
-
WSjohnhutchison
AskWoody Lounger -
WSarmsys
AskWoody LoungerAugust 9, 2009 at 8:22 pm #1172824I have seen these properties sitting the in the Properties box, but not used them nor know what they do. I found something here .
The fact that an Access expert didn’t know about these properties won’t surprise me. It’s not documented in Access online help. It’s neither mentioned nor discussed by 99% of Access 2007 books. It seems the borders are located inside the gridlines. What troubling me is when I adjust the top/bottom/left/right padding, I see no changes of distance between the text boxes whatsoever.
Armstrong -
WSjohnhutchison
AskWoody LoungerAugust 10, 2009 at 7:35 am #1172860It seems the borders are located inside the gridlines. What troubling me is when I adjust the top/bottom/left/right padding, I see no changes of distance between the text boxes whatsoever.
Here is another example. The Borders are solid, and are inside the Gridlines that have various patterns.
The Padding seems to control the distance between the borders and the gridlines. The margins seem to control the distance between the borders and the text. -
WSarmsys
AskWoody LoungerAugust 10, 2009 at 9:29 am #1172876Here is another example. The Borders are solid, and are inside the Gridlines that have various patterns.
The Padding seems to control the distance between the borders and the gridlines. The margins seem to control the distance between the borders and the text.Hi John,
Thanks for your painstaking effort in explaining the relation between the paddings and margins. And your illustration is the best in the world. On the other hand, the following is Access 2007’s online help:
Access Developer Reference Attachment.BottomPadding Property Gets or sets the amount of space (in inches) between the attachment and its bottom gridline. Read/write Integer.It makes no sense to me.
Thanks for your help.
Armstrong -
WSarmsys
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSarmsys
AskWoody LoungerAugust 10, 2009 at 5:37 pm #1172945HansV,
Thanks for your annotation. However, your annotation doesn’t show the way to adjust the gap between two text boxes. For a given record source, there are scores of text boxes. Then, how could I adjust the gaps between the text boxes? Changing left/right padding won’t help.
Armstrong -
WSHansV
AskWoody LoungerAugust 10, 2009 at 5:49 pm #1172946However, your annotation doesn’t show the way to adjust the gap between two text boxes.
It wasn’t intended to do that – I just wanted to clarify the meaning of the padding constants. They specify the distance between the borders and the gridlines of a control. They have nothing to do with the distance between controls.
Earlier versions of Access had tools to align and distribute controls, and to increase or decrease the distance (horizontal or vertical) between controls. I have no idea how that works in Access 2007.
-
WSarmsys
AskWoody LoungerAugust 10, 2009 at 5:59 pm #1172948It wasn’t intended to do that – I just wanted to clarify the meaning of the padding constants. They specify the distance between the borders and the gridlines of a control. They have nothing to do with the distance between controls.
Earlier versions of Access had tools to align and distribute controls, and to increase or decrease the distance (horizontal or vertical) between controls. I have no idea how that works in Access 2007.
Hi HansV,
Thanks for your fast reply. Thanks for adding clarity. Both Access 2003 and 2007 have the same tools. Rather, the core question here is whether there is a Property like “left/right padding” and “Grid X/Y” to adjust the distance between the adjacent text boxes.
Armstrong -
WSHansV
AskWoody Lounger -
WSarmsys
AskWoody Lounger -
WSjohnhutchison
AskWoody LoungerAugust 10, 2009 at 5:57 pm #1172947Then, how could I adjust the gaps between the text boxes?
To adjust the gaps between text boxes you just drag the text boxes, or resize them.
However, in Access 2007 there is something that often gets in the way of that: Layouts.
If the textbox is part of a layout, Access does not let you put gaps between textboxes. If you reduce one, it automatically increases the one next to it to fill in the gap.
So every time in create a form or report, I select all the controls then click Remove on the Arrange tab. This does not delete the controls from the form, but removes them from the Layout so you have individual control of their size and position.(All this has nothing to do with Gridlines and Borders)
-
WSarmsys
AskWoody LoungerAugust 10, 2009 at 6:06 pm #1172951To adjust the gaps between text boxes you just drag the text boxes, or resize them.
However, in Access 2007 there is something that often gets in the way of that: Layouts.
If the textbox is part of a layout, Access does not let you put gaps between textboxes. If you reduce one, it automatically increases the one next to it to fill in the gap.
So every time in create a form or report, I select all the controls then click Remove on the Arrange tab. This does not delete the controls from the form, but removes them from the Layout so you have individual control of their size and position.(All this has nothing to do with Gridlines and Borders)
Hi John,
At least, first of all, you confirm Borders and Gridlines have nothing to do with the gaps between adjacent text boxes.
Actually, I have been doing exactly what you suggest after designing form hundred times. As mentioned in your post, it’s a tedious process, first the tabular/Stocked layout must be removed. Then before adding/deleting text boxes, the tabular/stacked layout must be enabled to take advantage of the automatic features.
Thanks for your help.
Armstrong -
WSjohnhutchison
AskWoody LoungerAugust 10, 2009 at 6:20 pm #1172955Then before adding/deleting text boxes, the tabular/stacked layout must be enabled to take advantage of the automatic features.
I never enable it again. I completely ignore the automatic features. (I am not even sure what they are any more, but I have found them annoying so I just pretend they don’t exist.)
-
WSarmsys
AskWoody LoungerAugust 10, 2009 at 6:13 pm #1172953
-
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
1 hour, 54 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 hours, 35 minutes ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
7 hours, 22 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
11 hours, 55 minutes ago -
May preview updates
by
Susan Bradley
13 hours, 33 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
1 hour, 29 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
4 hours, 6 minutes ago -
KB5058379 / KB 5061768 Failures
by
crown
1 hour, 11 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 hour, 14 minutes ago -
At last – installation of 24H2
by
Botswana12
1 day, 3 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
1 hour ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
1 day, 15 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 8 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
2 days, 5 hours ago -
Another test post
by
gtd12345
2 days, 5 hours ago -
Connect to someone else computer
by
wadeer
1 day, 23 hours ago -
Limit on User names?
by
CWBillow
2 days, 2 hours ago -
Choose the right apps for traveling
by
Peter Deegan
1 day, 16 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day ago -
Who are you? (2025 edition)
by
Will Fastie
23 hours, 36 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
1 day, 19 hours ago -
A smarter, simpler Firefox address bar
by
Alex5723
2 days, 15 hours ago -
Woody
by
Scott
3 days ago -
24H2 has suppressed my favoured spider
by
Davidhs
1 day ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
3 days, 15 hours ago -
MS Office 365 Home on MAC
by
MickIver
3 days, 8 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
4 days, 5 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
1 day ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
5 days ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
5 days ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.