A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Automatically Resize Text Boxes



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2004, 10:06 PM
Jim Mac Millan
external usenet poster
 
Posts: n/a
Default Automatically Resize Text Boxes

I have several text boxes side by side. Each box has its own attributes. I
would like to have the boxes expand and shrink as necessary. I know that it
can be done vertically but I see know way to do this horizontally.

Has this question been posted somewhere before? Perhaps someone can direct
me to a page with examples?

TIA
Jim Mac Millan


  #2  
Old June 4th, 2004, 10:55 PM
Stephen Lebans
external usenet poster
 
Posts: n/a
Default Automatically Resize Text Boxes

See:
http://www.lebans.com/textwidth-height.htm
TextHeightWidth.zip is a replacement for the Report object's TextWidth
and TextHeight methods. It is multiline aware and can work in both
Report and Form views. Includes a sample report to show you how to
autosize individual controls with different formatting on the same line
to simulate RTF style text.

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"Jim Mac Millan" wrote in message
...
I have several text boxes side by side. Each box has its own

attributes. I
would like to have the boxes expand and shrink as necessary. I know

that it
can be done vertically but I see know way to do this horizontally.

Has this question been posted somewhere before? Perhaps someone can

direct
me to a page with examples?

TIA
Jim Mac Millan



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.