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 :)
Printable View
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 :)
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)