Solved

Resize text

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

685 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