Results 1 to 3 of 3
  1. #1
    sgerber
    Guest

    "Margins" in list and text boxes

    This one definitely falls under the category of "not a big deal," but...

    Listboxes and textboxes in VBA all seem to force a "margin" of several pixels between the edge of the box and the start of the text. Is there any way to get rid of that space?

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: "Margins" in list and text boxes

    TextBoxes have a SelectionMargin property which can be set to false, so doing away with the margin. ListBoxes do not appear to share that property.

    Andrew C

  3. #3
    sgerber
    Guest

    Re:

    Andrew,

    Thanks for the tip of the textbox property.

    I can't find a like property for listboxes, either, but there must be some way to get rid of the margins. Woody and his cohorts seem to have pulled it off in various WOPR and PRIME macros.

Posting Permissions

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