Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Perth, Western Australia, Australia
    Posts
    190
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to draw a line on a form (2002, XP Pro SR2)

    Hi all,

    Silly question time again.

    Which control do you use to draw a simple line on a form?
    Or do you need to use the group box control and resize to fit?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: How to draw a line on a form (2002, XP Pro SR2)

    UserForms (I assume that's what you mean by "form") don't have drawing tools, so you'll have to use either a group box control or an image control.

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to draw a line on a form (2002, XP Pro SR2)

    You can use a label and fill its width with _ or

  4. #4
    5 Star Lounger jujuraf's Avatar
    Join Date
    Jun 2001
    Location
    San Jose, California, USA
    Posts
    1,061
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to draw a line on a form (2002, XP Pro SR2)

    When I want a line, I use a button and make it really narrow and then set 'enabled=false'. I use this to separate sections of data on a form.

    Deb

  5. #5
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Perth, Western Australia, Australia
    Posts
    190
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to draw a line on a form (2002, XP Pro SR2)

    Thanks,

    You have all confirmed what I suspected.
    I didn't realise that there were at least 3 workarounds however.

    Cheers

Posting Permissions

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