Text Box Sizing on a form

sierra467

Registered User.
Local time
Today, 10:31
Joined
Aug 1, 2005
Messages
66
I am working on a report that must be displayed in a certain way (I attached an image to show what I have so far). In essence it should look like a table and I have it almost to where I want it but I can not do 2 things:

1) In the description (left column), I need the line "Demonstrates Knowledge of basic number facts ( addition, subtraction, multiplication, division)" To appear as 2 lines as shown, but both lines need to be indented the same amount.

Originally, I tried a text box containing just the contents of fldDescription with a box object behind it, but I could not make the box change size depending if there was a single line of text or a double line of text.

Currently, I have abandoned the text box and box object combination mentioned above and went to a single text box with a border (txtDesc), but now I do not know how to keep the indent on both lines. Properties set for txtDesc are:
Can Grow=True
Border Width=1pt
Control Source=" " & fldDescription
How do I maintain the indent and also keep the outlined box sized correctly?

2) How do I enlarge the Tr-1, Tr-2, Tr-3 cells (text boxes with 1pt Border width) to match the height of txtDesc, while at the same time centering (vertically and horizontally) the text within each cell?

Any Help would be greatly appreciated - Thanks.
 

Attachments

  • txtboxtable.jpg
    txtboxtable.jpg
    61.9 KB · Views: 216
Finally figured out that there are margin Top, Left, Bottom, and Right Margin properties and by setting the Left margin, I could rectify the #1 on my problem list above.

If anyone has a suggestion on how do I enlarge the Tr-1, Tr-2, Tr-3 cells (text boxes with 1pt Border width) to match the height of txtDesc, while at the same time centering (vertically and horizontally) the text within each cell, I would love some help/ideas - Can you horizontally and vertically center text in a text box?
 
Table format for report results

Getting Closer..... Found the Dynamic Table thread that shows how to display lines around your data to display it as a sort of excel table. It works great for its purpose.

However, I am still looking at how to size the Tri1-3 text boxes so that they are the same height as the txtDesc textbox and format the tri1-3 textboxes so that their data appears horizontily and vertically centered in the textbox.

Any help in that regard would be greatly appreciated - thanks.
 

Users who are viewing this thread

Back
Top Bottom