Results 1 to 3 of 3

Thread: Tab Width

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    sdfsdfdsf
    Posts
    1
    Hi!


    Someone can help Me

    How can i set Tab Width when I print to text file?


    Thanks!


    JP
    dfsdfdsf

  2. #2
    jim mcnamara
    Guest
    Print #i, Tab(10); a$; Tab(20);b$ - See TAB in help

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    only problem is it will depend on the Font being used.

    But I am assuming you wont be switching fonts (just creating a simple text file) so it wont matter much

    a Tab is 14 spaces (columns)
    a space being the average of the width of the letters in the font...(I think? or is it just some of the letters)?

    ok..just checked the help:

    Tab(n)

    Used to position the insertion point to an absolute column number, where n is the column number. Use Tab with no argument to position the insertion point at the beginning of the next print zone.

    Print zone :
    Print zones begin every 14 columns. The width of each column is an average of the width of all characters in the point size for the selected font.

    there you go!

    Tab(n) can be used for printing to the printer too.

    Printer.Print Tab(4);"Hello";Tab;"There"

    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

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