Solved

Resize text

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

746 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now