Results 1 to 4 of 4

Thread: Loop through Treeview and print...[Resolved]

Threaded View

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Resolved Loop through Treeview and print...[Resolved]

    For X = 1 To frmMain.tvInstalled.Nodes.Count
    Printer.Print frmMain.tvInstalled.Nodes(X).Text
    DoEvents
    Next

    this works.. sort of.

    What I need is to print the nodes in order with an appropriate indent..

    Looping the above way does not print the nodes out the same as you see them

    loops through each "level" instead of top to bottom...
    Last edited by Static; May 25th, 2005 at 09:05 AM.
    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