Solved

Resize text

Posted on 2016-11-24
4
27 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

856 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