?
Solved

How to keep other controls from showing through a (temporarily) large textbox

Posted on 2013-11-14
5
Medium Priority
?
386 Views
Last Modified: 2013-11-14
From time to time I enlarge a textbox for memo entries.   By design, this control covers a number of other smaller controls while it is enlarged.  When focus moves to a button alongside this large textbox (to automate the text entry process by automatically adding comments to the text), other controls show through and clutter the writing area.  
I noticed that the controls showing through have been added to the form since the textbox in question was added.

Is there a nice way to ensure this text box is "on top" while it is enlarged so the other controls remain unseen?
0
Comment
Question by:David_W_R
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 14

Assisted Solution

by:Bill Ross
Bill Ross earned 400 total points
ID: 39649554
Hi,

In form design view, click in the text box and click Format, Bring to Front.  Additionally, if the controls "behind" the textbox get focus then they will come to the front.  As a general rule you shouldn't overlap form controls due to this.

Regards,

Bill
0
 
LVL 31

Accepted Solution

by:
Helen Feddema earned 1000 total points
ID: 39649555
Select the textbox in design view, right-click, select Position, then Bring to Front.  For the other controls, you may also need to select Send to Back for them.  You might also have to select Normal as the textbox's BackStyle.
0
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 600 total points
ID: 39649759
Are you enlarging the textbox programatically?

If so, you can set the Visible property of the other controls according to the same logic, to hide/show them when needed.
0
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 600 total points
ID: 39649779
Another *easy* trick is to just use your un-enlarged textbox, NOT overlapping any controls and train your users to hit Shift-F2  when they want to enter or see large amounts of data.  That key combination automatically brings up Access's built in Zoom Box to do exactly what you are describing.

You can also do that in VBA in your textbox's Double Click event:

DoCmd.RunCommand acCmdZoomBox

Open in new window


Zoom Box
0
 

Author Closing Comment

by:David_W_R
ID: 39649792
Thanks all for the excellent tips!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question