Results 1 to 3 of 3

Thread: How to make label expand depending on length of text

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241
    I created a report on a form in VB6. I have dates that appear on parts of the form: January , February, March, etc.
    Anybody have any ideas how to make the text box or rather label conform to the length of the date. Otherwise when the date is short like April or May, it does not look as savy on the form because I have to allocate enough space for "December" so between the year and the month the gap can look too big. I don't need to have the day the report says "January 2000 or whatever the month is just and example!!!

    Any ideas?

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    Set it's AutoSize property to True

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241

    Wink

    well i feel stupid; hehe

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