Results 1 to 2 of 2

Thread: [03 & 05] vbTab in Combobox ? ? ? ? ? ?

  1. #1

    Thread Starter
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    [03 & 05] vbTab in Combobox ? ? ? ? ? ?

    I'm trying to create a simple two column table in a combo box using vbTab but it just shows as a box char in 03, and shows as a line | in 05.

    BTW I really don't want to use 3rd party controls
    Chris

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [03 & 05] vbTab in Combobox ? ? ? ? ? ?

    the standard control simply doesn't support tabs...

    what you can do is set a non proportional font (like courier new) and use padright on the string on the left column you want to make.

    Limitations of doing things this way are minimal, but they exist.

    They include:

    1) You must use a nonproportional font as I stated above
    2) Your left column text needs to have a cap on its length, and the padright value should be that limit + 1 (to have at least 1 space)
    3) when you want to use the values from the columns, you will need to trim them out of the 1 big string with the spaces in the middle

    So no major drawbacks to doing it this way (IMO)

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