Results 1 to 5 of 5

Thread: How do I size text box in report?

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    34

    How do I size text box in report?

    Imagine that I’m making a table with 2 columns.
    I’ve put 2 text boxes in the detail section and set their “Can Grow” & “Can Shrink” properties to “Yes”. The result is a table with no equal height of cells. How to fix? Please help

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: How do I size text box in report?

    hmm.. how about in the report event:

    either onFormat or onPRint (dont remember which one works for This)
    VB Code:
    1. If Text1.Height > Text2.Height Then
    2. Text2.Height = Text1.height
    3. Else
    4. Text1.Height = Text2.height
    5. End if
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    34

    Re: How do I size text box in report?

    Thank you very much. Unfortunately I cant use the Height property in any events.
    Please help

  4. #4
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: How do I size text box in report?

    why cant you?
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2005
    Posts
    34

    Re: How do I size text box in report?

    It's just because these properties are not available when writing code in any events.
    Any way, I've tried but the two textboxes are still printed in difference height

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width