Solved

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

Posted on 2013-11-14
5
381 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
5 Comments
 
LVL 14

Assisted Solution

by:Bill Ross
Bill Ross earned 100 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 250 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 150 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 150 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

777 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