Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text position in text control.

Status
Not open for further replies.

puforee

Technical User
Oct 6, 2006
741
US
Let's say I have a text box on a report that is 1/2 inch high and my text is 1/4 inch high. When this text box is populated the text shows at the top of the control unless it is longer than the control. Then it wraps. What I need is for the text to show at the bottom of the control and then if it wraps the beginning of the text shows at the top of the control and the wrap portion shows at the bottom. This would allow the text to align with the control title (the title is fixed and can't be moved). I know excel and word have this functionality to align the text at the bottom, center, and top of a cell. Is there anything in MS Access that can cause the text to show at the bottom, center, or top of a control?

I am not looking for vertical text. I am looking for vertical positioning in a horizontal text control...like excel and word can do.

Thanks,

John
 
I'm not sure it's possible without some notion of the maximum number of characters that can be displayed on a line. I could be wrong.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
You can set a margin on a control but that is likely only at design time / On open, not to mention the difficulty in determining when to wrap based on data...

You might consider using Rich Text Format and adding an extra line for the padding. Still that is still a cumbersome estimation with true type fonts etc.

Another thought would be to look for an ActiveX control that has the functionality. Likely Can Grow and Can Shrink go away this way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top