Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Resize text

Posted on 2016-11-24
4
Medium Priority
?
37 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
[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
  • 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 2000 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

718 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