Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Stops

Status
Not open for further replies.

Misled

Programmer
Sep 22, 1998
23
US
Sometimes I want to add text to a tree node for example. To keep them in a proper alignment, add it like : text & vbTab & text. Is there a way to change the length of the vbTab. I want to shorten it.
 
Has anyone found a way of shortening the length of vbTAB yet? I only want it to be about 3 spaces long so that my asp generated HTML doesn't go off the page so far (hard to read).
Any responses are most appreciated.

Bevan
bevan@ucol.ac.nz
 
Bevan,
For reasons shrouded in the mysteries of 1930's TeleType machines, tabs are usually defined as being the same as 8 spaces. But as you've seen, some editors allow you to set the tab size, and some don't.

If it's really critical to you, take a look at MicroEdge's SlickEdit ( It's probably the most configurable editor available. Plus, it's what Microsoft used to write Windows NT on.

Chip H.
 
I do not know of a way to permanently increase / decrease the number of spaces a tab represents, but you can write a function to replace a tab character (chr(9)) with the appropriate number of spaces (chr(32)) for you needs.
Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top