Solved

Resize text

Posted on 2016-11-24
4
25 Views
Last Modified: 2016-11-24
Hi EE

I am using the following to resize a text box
FW  = text.Width
FH = text.Height
me!txt.Width = 5000
me!txt.Height = 25000

I am at the bottom of the form and would like the text box to expand upwards instead down wards.
Any help appreciated

chestera
0
Comment
Question by:chestera
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:COACHMAN99
ID: 41901121
you would set the 'top' and 'left' of the textbox first.
then ascertain how much space you have,
then set the height and width
0
 

Author Comment

by:chestera
ID: 41901136
Coachman99

I can set the Left  me!txt.left = FL -(me!txt.Width - FW). How do I set the Top

Alan
0
 
LVL 7

Accepted Solution

by:
COACHMAN99 earned 500 total points
ID: 41901145
you set the top to wherever you wish. A few points below the field above it?
If the one above is a fixed position then it will be previous field top + height + a few points
same for the left (a few points form the left of the page?0
0
 

Author Closing Comment

by:chestera
ID: 41901149
Thank you got that
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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

832 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